X-Git-Url: http://git.typo3.org/Packages/TYPO3.CMS.git/blobdiff_plain/40cddcec4a4dd95d2f22ed602782bf5f0c92e608..42387f9aeeac45843ac2766f2cb0293bbbc0fc86:/typo3/file_upload.php diff --git a/typo3/file_upload.php b/typo3/file_upload.php index 9b9a56c4091..d2a243fac4c 100755 --- a/typo3/file_upload.php +++ b/typo3/file_upload.php @@ -2,7 +2,7 @@ /*************************************************************** * Copyright notice * -* (c) 1999-2004 Kasper Skaarhoj (kasperYYYY@typo3.com) +* (c) 1999-2005 Kasper Skaarhoj (kasperYYYY@typo3.com) * All rights reserved * * This script is part of the TYPO3 project. The TYPO3 project is @@ -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; } }