[wp-trac] [WordPress Trac] #40294: Activation link and reset password wrong parsing
WordPress Trac
noreply at wordpress.org
Wed Mar 29 08:03:21 UTC 2017
#40294: Activation link and reset password wrong parsing
------------------------------------+-----------------------------
Reporter: AirFlame | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Login and Registration | Version: 4.7.3
Severity: normal | Keywords:
Focuses: |
------------------------------------+-----------------------------
There is a error parsing a links to a reset password and to a activation
link. On some email boxes links display incorrectly.
in wp-login.php
{{{#!php
<?php
$message .= '<' . network_site_url("wp-
login.php?action=rp&key=$key&login=" . rawurlencode($user->user_login),
'login') . ">\r\n\r\n";
}}}
And in wp-includes/pluggable.php
{{{#!php
<?php
$message .= '<' . network_site_url("wp-
login.php?action=rp&key=$key&login=" . rawurlencode($user->user_login),
'login') . ">\r\n\r\n";
}}}
Link that is displaying in Polish language. In activation have a ''''>''''
and '''';'''' at the end
Nazwa użytkownika: someuser
Aby ustawić hasło, przejdź na stronę:
<http://www.somesite.pl/wp-
login.php?action=rp&key=TwBzu7k3q4g3VKonp8FY&login=someuser'''>;'''
http://www.somesite.pl/wp-login.php
So instead of redirection to link:
http://www.somesite.pl/wp-
login.php?action=rp&key=TwBzu7k3q4g3VKonp8FY&login=someuser
it redirect to
http://www.somesite.pl/wp-
login.php?action=rp&key=TwBzu7k3q4g3VKonp8FY&login=someuser'''>'''
And usre cant activate accont using this link same goes to the restart
password because in link this ''''>'''' adds.
Please fix.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40294>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list