Project

General

Profile

Actions

Bug #102585

closed

Workspace preview link generated by PageTree "show" button contains "&" character

Added by Riccardo De Contardi 8 months ago. Updated 7 months ago.

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>&amp;id=<ID_OF_THE_PAGE>

with
 &amp; 

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


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #102441: Paste clipboard content - Text in flash message escapedClosed2023-11-22

Actions
Related to TYPO3 Core - Bug #102458: Copy/Cut of a page with single and double quotes in page title leads to escaped textClosed2023-11-22

Actions
Actions

Also available in: Atom PDF