diff --git a/typo3/sysext/backend/Resources/Public/JavaScript/LiveSearch.js b/typo3/sysext/backend/Resources/Public/JavaScript/LiveSearch.js index 9144c77d0367bc7ed7fb629fd70fcbe0852fad31..23766c5cdf7c6e6397d1e3f936b5c7a0043ea6ba 100644 --- a/typo3/sysext/backend/Resources/Public/JavaScript/LiveSearch.js +++ b/typo3/sysext/backend/Resources/Public/JavaScript/LiveSearch.js @@ -86,7 +86,7 @@ define('TYPO3/CMS/Backend/LiveSearch', ['jquery', 'jquery/autocomplete'], functi // set up the events $(containerSelector).on('click', '.t3js-live-search-show-all', function(evt) { evt.preventDefault(); - TYPO3.ModuleMenu.App.showModule('web_list', 'id=0&search_levels=4&search_field=' + $(searchFieldSelector).val()); + TYPO3.ModuleMenu.App.showModule('web_list', 'id=0&search_levels=4&search_field=' + encodeURIComponent($(searchFieldSelector).val())); }); $(containerSelector).on('click', '.dropdown-list-link', function(evt) { evt.preventDefault();