Actions
Bug #102585
closedWorkspace preview link generated by PageTree "show" button contains "&" character
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Workspaces
Target version:
-
Start date:
2023-12-02
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
12
PHP Version:
8.1
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
Prerequisites¶
- TYPO3 12 (I tested it on 12.4.8)
- An additional "Draft" workspace beside the usual "LIVE" workspace
Steps to reproduce¶
- Go to the "Draft" workspace
- Go to a page (any page) > page module
- If you use the "preview" page button on the header, it opens the url:
https://yoursite.com/typo3/workspace/preview-control/?token=<SOME_TOKEN>&id=<ID_OF_THE_PAGE>
BUT if you instead use the context menu of the pagetree (left click> show) the url is
https://yoursite.com/typo3/workspace/preview-control/?token=<SOME_TOKEN>&id=<ID_OF_THE_PAGE>
with
&
instead of
&
There should not be difference; on my Ddev installation both links work the same but I've been reported that it could lead to an error like "503 (The link to the page with ID "0" could not be generated: No site found in root line of page 0)"
The issue seems not to affect TYPO3 v.11 or v.13, just v.12
Actions