[BUGFIX] utf8/multibyte character breaks menu filelist 78/23378/2
authorPeter Niederlag <netservice@niekom.de>
Thu, 22 Aug 2013 11:17:25 +0000 (13:17 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Tue, 27 Aug 2013 21:43:03 +0000 (23:43 +0200)
Resolves: #51190
Releases: 6.2, 6.1
Change-Id: I105e23b12659495b4058edbc8091eee4374d58b9
Reviewed-on: https://review.typo3.org/23378
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
typo3/sysext/filelist/Classes/Controller/FileListController.php

index 4a5e9a2..ac876c8 100644 (file)
@@ -293,7 +293,7 @@ class FileListController {
                        // Set top JavaScript:
                        $this->doc->JScode = $this->doc->wrapScriptTags('
 
-                       if (top.fsMod) top.fsMod.recentIds["file"] = unescape("' . rawurlencode($this->id) . '");
+                       if (top.fsMod) top.fsMod.recentIds["file"] = "' . rawurlencode($this->id) . '";
                        function jumpToUrl(URL) {       //
                                window.location.href = URL;
                        }
@@ -403,4 +403,4 @@ class FileListController {
 
 }
 
-?>
\ No newline at end of file
+?>