Skip to content

Commit

Permalink
[BUGFIX] Remove duplicate hsc() for title tag at login
Browse files Browse the repository at this point in the history
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: Ibc1f78ebab51d6aae4f74a802de34c0f8e1a9ac3
Reviewed-on: http://review.typo3.org/3718
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
  • Loading branch information
Georg Ringer authored and helhum committed Jul 26, 2011
1 parent 0ad45ea commit 686631b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion typo3/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ function main() {
}

// Starting page:
$this->content .= $TBE_TEMPLATE->startPage('TYPO3 Login: ' . htmlspecialchars($TYPO3_CONF_VARS['SYS']['sitename']), FALSE);
$this->content .= $TBE_TEMPLATE->startPage('TYPO3 Login: ' . $TYPO3_CONF_VARS['SYS']['sitename'], FALSE);

// Add login form:
$this->content.=$this->wrapLoginForm($loginForm);
Expand Down

0 comments on commit 686631b

Please sign in to comment.