Merge "Don't escape the mail's subject in Special:PasswordReset"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Tue, 4 Feb 2014 18:35:48 +0000 (18:35 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Tue, 4 Feb 2014 18:35:48 +0000 (18:35 +0000)
includes/specials/SpecialPasswordReset.php

index 8e56574..082eed0 100644 (file)
@@ -277,7 +277,7 @@ class SpecialPasswordReset extends FormSpecialPage {
 
                $title = $this->msg( 'passwordreset-emailtitle' );
 
-               $this->result = $firstUser->sendMail( $title->escaped(), $this->email->text() );
+               $this->result = $firstUser->sendMail( $title->text(), $this->email->text() );
 
                if ( isset( $data['Capture'] ) && $data['Capture'] ) {
                        // Save the user, will be used if an error occurs when sending the email