Project

General

Profile

Actions

Bug #42051

closed

Javascript labels are not escaped, resulting in a bug when previewing with a french BE

Added by Fronzes Philippe over 11 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Workspaces
Target version:
-
Start date:
2012-10-16
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Hi,

This bug was first posted here: http://lists.typo3.org/pipermail/typo3-english/2012-March/079796.html

I have got the same on a 4.5.19.

In function indexAction(), in typo3/sysext/workspaces/classes/controller/PreviewController.php, labels are not escaped for 'visualPreview' .... 'modeHbox'.
Particularly, in french, the label for "workspacePreviewDetail" contains a single quote, resulting in a javascript bug.

These labels should go through addInlineLanguageLabel or equivalent from the class t3lib_pageRenderer.

I will try to submit a patch later.

Actions

Also available in: Atom PDF