[BUGFIX] Remove duplicate hsc() for title tag at login
authorGeorg Ringer <mail@ringerge.org>
Thu, 9 Jun 2011 17:56:03 +0000 (19:56 +0200)
committerHelmut Hummel <typo3@helmut-hummel.de>
Tue, 26 Jul 2011 07:12:43 +0000 (09:12 +0200)
htmlspecialchars() is called twice for the title tag
at the backend login page.
Once in typo3/index.php (which is removed with
this change) and one time in t3lib_pagerenderer when
filling the TITLE marker.

Change-Id: I711044c1bcce478c6935cf1fb32fef39097ce6a1
Resolves: #24975
Reviewed-on: http://review.typo3.org/2612
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Mario Rimann
typo3/index.php

index 2e501dd..c7335e9 100644 (file)
@@ -184,7 +184,7 @@ class SC_index {
                }
 
                        // Starting page:
-               $this->content .= $GLOBALS['TBE_TEMPLATE']->startPage('TYPO3 Login: ' . htmlspecialchars($GLOBALS['TYPO3_CONF_VARS']['SYS']['sitename']), FALSE);
+               $this->content .= $GLOBALS['TBE_TEMPLATE']->startPage('TYPO3 Login: ' . $GLOBALS['TYPO3_CONF_VARS']['SYS']['sitename'], FALSE);
 
                        // Add login form:
                $this->content.=$this->wrapLoginForm($loginForm);