From: Alexandre Emsenhuber Date: Thu, 27 May 2010 15:51:25 +0000 (+0000) Subject: Follow-up r66933: escape the whole message instead of only the parameter X-Git-Tag: 1.31.0-rc.0~36697 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22articles%22%2C%22id_article=%24id_article%22%29%20.%20%22?a=commitdiff_plain;h=ca1c1f094427bd36c7982e3cdd2c3da5ce0035a0;p=lhc%2Fweb%2Fwiklou.git Follow-up r66933: escape the whole message instead of only the parameter --- diff --git a/includes/specials/SpecialUserlogin.php b/includes/specials/SpecialUserlogin.php index 4f231e69ec..0a41b1faf2 100644 --- a/includes/specials/SpecialUserlogin.php +++ b/includes/specials/SpecialUserlogin.php @@ -128,7 +128,7 @@ class LoginForm { global $wgOut; if ( $this->mEmail == '' ) { - $this->mainLoginForm( wfMsgExt( 'noemail', 'parsemag', htmlspecialchars( $this->mName ) ) ); + $this->mainLoginForm( wfMsgExt( 'noemail', array( 'parsemag', 'escape' ), $this->mName ) ); return; }