Actions
Bug #68956
closedindexed_search page browser - javascript quoting
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Indexed Search
Target version:
-
Start date:
2015-08-11
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
Since this commit [[https://github.com/TYPO3/TYPO3.CMS/commit/75eb4cf5dc65f25fec153e97be9c653c6accc98f]] the quoting in javascript onclick code is not correct.
Maybe you can change it like this
typo3/sysext/indexed_search/Classes/ViewHelpers/PageBrowsingViewHelper.php Line 139
$onclick .= 'document.getElementById(GeneralUtility::quoteJSvalue(self::$prefixId . '_pointer')).value=' . GeneralUtility::quoteJSvalue(rawurlencode($freeIndexUid)) . ';';
typo3/sysext/indexed_search/Classes/ViewHelpers/PageBrowsingViewHelper.php Line 141
$onclick .= 'document.getElementById(GeneralUtility::quoteJSvalue(self::$prefixId . '_freeIndexUid')).value=' . GeneralUtility::quoteJSvalue(rawurlencode($freeIndexUid)) . ';';
Actions