Fixed bug #5082: Clean up a nested htmlspecialchars() in class.db_list_extra.inc
authorIngmar Schlecht <ingmar.schlecht@typo3.org>
Sat, 27 Oct 2007 18:02:09 +0000 (18:02 +0000)
committerIngmar Schlecht <ingmar.schlecht@typo3.org>
Sat, 27 Oct 2007 18:02:09 +0000 (18:02 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/branches/TYPO3_4-1@2621 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/class.db_list_extra.inc

index 407e027..145cdfd 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
 2007-10-27  Ingmar Schlecht  <ingmar@typo3.org>
 
        * Fixed bug #1940: "OPEN DOCUMENTS" causes 404 error (Thanks to Christian Trabold)
+       * Fixed bug #5082: Clean up a nested htmlspecialchars() in class.db_list_extra.inc (Thanks to Christian Kuhn)
 
 2007-10-26  Stanislas Rolland  <stanislas.rolland@fructifor.ca>
 
index 66758c5..db8cba1 100755 (executable)
@@ -162,7 +162,7 @@ class localRecordList extends recordList {
 
                                // Adding "New record" icon:
                        if (!$GLOBALS['SOBE']->modTSconfig['properties']['noCreateRecordsLink'])        {
-                               $theCtrlPanel[]='<a href="#" onclick="'.htmlspecialchars('return jumpExt(\'' . htmlspecialchars($this->backPath . 'db_new.php?id='.$this->id).'\');').'">'.
+                               $theCtrlPanel[]='<a href="#" onclick="'.htmlspecialchars('return jumpExt(\''.$this->backPath.'db_new.php?id='.$this->id.'\');').'">'.
                                                                '<img'.t3lib_iconWorks::skinImg($this->backPath,'gfx/new_el.gif','width="11" height="12"').' title="'.$LANG->getLL('newRecordGeneral',1).'" alt="" />'.
                                                                '</a>';
                        }