#42051Javascript labels are not escaped, resulting in a bug when previewing with a french BE
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.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.