[wp-trac] [WordPress Trac] #17052: wp_sanitize_redirect() removes square brackets from URL
WordPress Trac
noreply at wordpress.org
Wed Jan 22 18:46:27 UTC 2014
#17052: wp_sanitize_redirect() removes square brackets from URL
-------------------------------------+-----------------------------
Reporter: bluntelk | Owner:
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: Future Release
Component: Formatting | Version: 3.1
Severity: minor | Resolution:
Keywords: has-patch needs-refresh |
-------------------------------------+-----------------------------
Comment (by david.binda):
"@" is being removed from URL as well. As "@" might be a part of basic-
auth URL, it should be preserved in the URL.[[BR]][[BR]]
As I noticed that https://core.trac.wordpress.org/ticket/26037 was closed
as a dupe (despite it contains "@" as well), I'm posting a patch
containing both ("@" and "[]") to his ticket.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/17052#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list