From 42387f9aeeac45843ac2766f2cb0293bbbc0fc86 Mon Sep 17 00:00:00 2001 From: Karsten Dambekalns Date: Mon, 18 Apr 2005 10:27:50 +0000 Subject: [PATCH] Fixed bug #986, thanks to Sebastian Kurfuerst. git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@650 709f56b5-9817-0410-a4d7-c38de5d9e867 --- typo3/file_upload.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } } -- 2.20.1