X-Git-Url: http://git.typo3.org/Packages/TYPO3.CMS.git/blobdiff_plain/93aab85b254e13c7115bb37ab4005e36df6e77c4..42387f9aeeac45843ac2766f2cb0293bbbc0fc86:/typo3/file_upload.php diff --git a/typo3/file_upload.php b/typo3/file_upload.php index 08d191df463..d2a243fac4c 100755 --- a/typo3/file_upload.php +++ b/typo3/file_upload.php @@ -143,7 +143,7 @@ class SC_file_upload { function reload(a) { // if (!changed || (changed && confirm('.$LANG->JScharCode($LANG->sL('LLL:EXT:lang/locallang_core.php:mess.redraw')).'))) { - var params = "&target="+escape(path)+"&number="+a; + var params = "&target="+escape(path)+"&number="+a+"&returnUrl='.htmlspecialchars($this->returnUrl).'"; document.location = "file_upload.php?"+params; } }