[wp-trac] [WordPress Trac] #10991: wp_loginout() encoding problem
WordPress Trac
wp-trac at lists.automattic.com
Wed Oct 21 06:19:46 UTC 2009
#10991: wp_loginout() encoding problem
--------------------------+-------------------------------------------------
Reporter: neoxx | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 2.9
Component: General | Version: 2.8.4
Severity: normal | Keywords: wp_loginout, encoding
--------------------------+-------------------------------------------------
Hi,
Just a quick note: URLs containing a '+' (e.g. representing an ''and'' in
a chain of tags) fail as redirect in ''wp_loginout()'' in Firefox. If
tested the behavior in IE8 and Opera 10 and there it seems to work. Maybe
the latter two are doing automatic url-encoding?
Anyway, I've used
{{{
str_replace('+', '%2B', $_SERVER['REQUEST_URI']);
}}}
as a quick-and-dirty fix but - if I'm right - I think we need something
more decent.
greetz,
berny
--
Ticket URL: <http://core.trac.wordpress.org/ticket/10991>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list