[BUGFIX] Replace module token in be shortcut returnUrl 96/31396/2
authorFrans Saris <franssaris@gmail.com>
Sun, 6 Jul 2014 12:34:46 +0000 (14:34 +0200)
committerMarkus Klein <klein.t3@mfc-linz.at>
Sun, 6 Jul 2014 15:20:23 +0000 (17:20 +0200)
commit777086e0bc83e3d495a85726b4d53a15f112bac8
treef3d0864d1e2dabbb2b5cc063d32f507bdd3c1fcd
parent78af7508173c357bc3de947500abd4b52f7ac82e
[BUGFIX] Replace module token in be shortcut returnUrl

During the addition of the token check for mod.php the token
in the BE shortcut url was already replaced (#56359) but
not in the returnUrl parameter that can be present.

This patch makes sure that also the module token is replaced in
the returnUrl param.

Resolves: #59963
Releases: 6.3, 6.2
Change-Id: I12b9d6022240d0399825aade21b0879bfbc7eb6c
Reviewed-on: https://review.typo3.org/31396
Reviewed-by: Markus Klein
Tested-by: Markus Klein
typo3/sysext/backend/Classes/Toolbar/ShortcutToolbarItem.php