[BUGFIX] Fix redirect after page/content move
[Packages/TYPO3.CMS.git] / typo3 / sysext / backend / Classes / Tree / View / PageMovingPagePositionMap.php
index 98b027c..10040dd 100644 (file)
@@ -47,7 +47,7 @@ class PageMovingPagePositionMap extends PagePositionMap
         $uriBuilder = GeneralUtility::makeInstance(UriBuilder::class);
         return 'window.location.href=' . GeneralUtility::quoteJSvalue((string)$uriBuilder->buildUriFromRoute('tce_db', [
             'cmd[pages][' . $GLOBALS['SOBE']->moveUid . '][' . $this->moveOrCopy . ']' => $pid,
-            'redirect' => rawurlencode($this->R_URI)
+            'redirect' => $this->R_URI,
         ])) . ';return false;';
     }