Fixed bug #10967: Validation issue: unescaped & or unknown entity "&returnUrl" in...
authorPatrick Broens <patrick@netcreators.com>
Fri, 1 May 2009 14:22:16 +0000 (14:22 +0000)
committerPatrick Broens <patrick@netcreators.com>
Fri, 1 May 2009 14:22:16 +0000 (14:22 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@5378 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/file_list.php

index b33ea4a..2a726b4 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-05-01  Patrick Broens  <patrick@patrickbroens.nl>
+
+       * Fixed bug #10967: Validation issue: unescaped & or unknown entity "&returnUrl" in typo3/file_list.php
+
 2009-04-30  Francois Suter  <francois@typo3.org>
 
        * Added feature: #10651: Add <abbr> tag to hints SL, GL, SGL in EM (thanks to Steffen Gebert)
index d01a47c..7496e28 100644 (file)
@@ -347,10 +347,10 @@ class SC_file_list {
 
                        // upload button
                $theIcon = '<img'.t3lib_iconWorks::skinImg($this->backPath,'gfx/upload.gif','width="18" height="16"').' title="'.$GLOBALS['LANG']->makeEntities($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:cm.upload',1)).'" alt="" />';
-               $buttons['upload'] = '<a href="'.$BACK_PATH.'file_upload.php?target='.rawurlencode($this->id).'&returnUrl='.rawurlencode($this->filelist->listURL()).'">'.$theIcon.'</a>';
+               $buttons['upload'] = '<a href="' . $BACK_PATH . 'file_upload.php?target=' . rawurlencode($this->id) . '&amp;returnUrl=' . rawurlencode($this->filelist->listURL()) . '">' . $theIcon . '</a>';
 
                $theIcon = '<img'.t3lib_iconWorks::skinImg($this->backPath,'gfx/new_file.gif','width="18" height="16"').' title="'.$GLOBALS['LANG']->makeEntities($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:cm.new',1)).'" alt="" />';
-               $buttons['new'] = '<a href="'.$BACK_PATH.'file_newfolder.php?target='.rawurlencode($this->id).'&returnUrl='.rawurlencode($this->filelist->listURL()).'">'.$theIcon.'</a>';
+               $buttons['new'] = '<a href="' . $BACK_PATH . 'file_newfolder.php?target=' . rawurlencode($this->id) . '&amp;returnUrl=' . rawurlencode($this->filelist->listURL()) . '">' . $theIcon . '</a>';
 
                return $buttons;
        }