From: Karsten Dambekalns Date: Mon, 18 Apr 2005 10:27:50 +0000 (+0000) Subject: Fixed bug #986, thanks to Sebastian Kurfuerst. X-Git-Tag: TYPO3_3-8-0rc1~71 X-Git-Url: http://git.typo3.org/Packages/TYPO3.CMS.git/commitdiff_plain/42387f9aeeac45843ac2766f2cb0293bbbc0fc86 Fixed bug #986, thanks to Sebastian Kurfuerst. git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@650 709f56b5-9817-0410-a4d7-c38de5d9e867 --- diff --git a/typo3/file_upload.php b/typo3/file_upload.php index 08d191df463e..d2a243fac4cb 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; } }