From b0559c914f4b20d8153f24b37c29b1c87cbf4879 Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Mon, 11 Nov 2013 21:19:19 +0100 Subject: [PATCH] Don't escape the mail's subject in Special:PasswordReset So that special characters appears correctly (e.g. &). Change-Id: Ifaa1f0f831fdfeb8dc46f43cbe1c96bc25cb4b76 --- includes/specials/SpecialPasswordReset.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/specials/SpecialPasswordReset.php b/includes/specials/SpecialPasswordReset.php index 8e5657477b..082eed0d0a 100644 --- a/includes/specials/SpecialPasswordReset.php +++ b/includes/specials/SpecialPasswordReset.php @@ -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 -- 2.20.1