From 2ecad87f29a2480d17300a117f8f591cdb1645e4 Mon Sep 17 00:00:00 2001 From: Marius Hoch Date: Sat, 27 Oct 2012 02:10:02 +0200 Subject: [PATCH] (bug 41443) Link in password reset is broken The link in the password reset email was broken, because the paramters for passwordreset-emailtext-user were over-escaped. I've fixed this with passing the message unescaped, per suggestion. Change-Id: If2665a419f5ee11602d4a69b60f7c4786f816ee2 --- 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 97f0037eaf..d7cf693c25 100644 --- a/includes/specials/SpecialPasswordReset.php +++ b/includes/specials/SpecialPasswordReset.php @@ -255,7 +255,7 @@ class SpecialPasswordReset extends FormSpecialPage { $title = $this->msg( 'passwordreset-emailtitle' ); - $this->result = $firstUser->sendMail( $title->escaped(), $this->email->escaped() ); + $this->result = $firstUser->sendMail( $title->escaped(), $this->email->text() ); // Blank the email if the user is not supposed to see it if( !isset( $data['Capture'] ) || !$data['Capture'] ) { -- 2.20.1