[BUGFIX] utf8/multibyte character breaks menu filelist 78/23278/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 18:49:30 +0000 (20:49 +0200)
Resolves: #51190
Releases: 6.2, 6.1
Change-Id: I105e23b12659495b4058edbc8091eee4374d58b9
Reviewed-on: https://review.typo3.org/23278
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Oliver Klee
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
typo3/sysext/filelist/Classes/Controller/FileListController.php

index 656e91a..d8897ef 100644 (file)
@@ -299,7 +299,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;
                        }