[CLEANUP] $LANG->JScharCode() => quoteJSvalue() 80/27380/6
authorMichiel Roos <michiel@maxserv.nl>
Thu, 6 Feb 2014 15:36:35 +0000 (16:36 +0100)
committerStefan Neufeind <typo3.neufeind@speedpartner.de>
Fri, 7 Feb 2014 09:44:15 +0000 (10:44 +0100)
commit006a2e1f7bebc09480944df9d10467a0c230a776
tree2316defa5f3ead7a3102814873f5e669be8af7dc
parentbfe283044e9f2f0ade4771fed50945bfac086284
[CLEANUP] $LANG->JScharCode() => quoteJSvalue()

Replace JscharCode() with GeneralUtility::quoteJSvalue()

Instead of making JavaScript use a String.fromCharCode, it will now use
a sanitized quoted string.

Change-Id: Idf81d5524d4bbb60b515670aa13648aa52064905
Resolves: #55009
Releases: 6.2
Reviewed-on: https://review.typo3.org/27380
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Michiel Roos
Tested-by: Michiel Roos
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
20 files changed:
typo3/sysext/backend/Classes/ClickMenu/ClickMenu.php
typo3/sysext/backend/Classes/Clipboard/Clipboard.php
typo3/sysext/backend/Classes/Controller/BackendController.php
typo3/sysext/backend/Classes/Controller/EditDocumentController.php
typo3/sysext/backend/Classes/Controller/File/CreateFolderController.php
typo3/sysext/backend/Classes/Controller/PageLayoutController.php
typo3/sysext/backend/Classes/Form/Element/InlineElement.php
typo3/sysext/backend/Classes/Form/FormEngine.php
typo3/sysext/backend/Classes/Template/DocumentTemplate.php
typo3/sysext/backend/Classes/View/PageLayoutView.php
typo3/sysext/backend/Classes/View/PageTreeView.php
typo3/sysext/filelist/Classes/FileList.php
typo3/sysext/lang/Classes/LanguageService.php
typo3/sysext/recordlist/Classes/Browser/ElementBrowser.php
typo3/sysext/recordlist/Classes/RecordList/DatabaseRecordList.php
typo3/sysext/rtehtmlarea/Classes/BrowseLinks.php
typo3/sysext/rtehtmlarea/Classes/RteHtmlAreaBase.php
typo3/sysext/rtehtmlarea/Classes/User.php
typo3/sysext/sys_action/Classes/ActionTask.php
typo3/sysext/wizard_sortpages/Classes/View/SortPagesWizardModuleFunction.php