From: Marius Hoch Date: Sat, 27 Oct 2012 00:10:02 +0000 (+0200) Subject: (bug 41443) Link in password reset is broken X-Git-Tag: 1.31.0-rc.0~21834^2 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/operations/recherche.php?a=commitdiff_plain;h=2ecad87f29a2480d17300a117f8f591cdb1645e4;p=lhc%2Fweb%2Fwiklou.git (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 --- 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'] ) {