From 6ed9cdd2dbbec7160749a8d1d76f73c2da201a27 Mon Sep 17 00:00:00 2001 From: Krinkle Date: Mon, 9 Jan 2012 00:15:38 +0000 Subject: [PATCH] Fix double-escaping in 108312 --- includes/OutputPage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/OutputPage.php b/includes/OutputPage.php index f691a0c0fd..4114efc413 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -813,7 +813,7 @@ class OutputPage extends ContextSource { $this->mPagetitle = $nameWithTags; # change "foo&bar" to "foo&bar" - $this->setHTMLTitle( $this->msg( 'pagetitle' )->rawParams( htmlspecialchars( Sanitizer::stripAllTags( $nameWithTags ) ) ) ); + $this->setHTMLTitle( $this->msg( 'pagetitle' )->rawParams( Sanitizer::stripAllTags( $nameWithTags ) )->escaped() ); } /** -- 2.20.1