[BUGFIX] 404 error after closing edit wizard 87/40287/4
authorGilles FOUET <gifou@smile.fr>
Tue, 16 Jun 2015 10:06:45 +0000 (12:06 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Tue, 16 Jun 2015 14:32:26 +0000 (16:32 +0200)
The returnUrl parameter was double encoded around getModuleUrl.
Now it's encoded only one time.

Resolves: #67473
Releases: master
Change-Id: I59345018f61717abbd6cfea02891c28441158b61
Reviewed-on: http://review.typo3.org/40287
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Daniel Maier <dani-maier@gmx.de>
Tested-by: Daniel Maier <dani-maier@gmx.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/backend/Classes/Controller/Wizard/EditController.php

index bfa4295..e18303b 100644 (file)
@@ -78,7 +78,7 @@ class EditController extends AbstractWizardController {
                $fTable = $this->P['currentValue'] < 0 ? $config['neg_foreign_table'] : $config['foreign_table'];
 
                $urlParameters = array(
-                       'returnUrl' => rawurlencode(BackendUtility::getModuleUrl('wizard_edit', array('doClose' => 1)))
+                       'returnUrl' => BackendUtility::getModuleUrl('wizard_edit', array('doClose' => 1))
                );
 
                // Detecting the various allowed field type setups and acting accordingly.