[wp-trac] [WordPress Trac] #18814: wp_redirect wont allow arrays to be sent in query string
WordPress Trac
wp-trac at lists.automattic.com
Thu Sep 29 17:38:32 UTC 2011
#18814: wp_redirect wont allow arrays to be sent in query string
-------------------------+------------------------------
Reporter: jacksplay | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 3.2.1
Severity: normal | Resolution:
Keywords: |
-------------------------+------------------------------
Changes (by nacin):
* type: defect (bug) => enhancement
Comment:
Brackets are reserved characters for enclosing IP literals. They should be
encoded when used elsewhere. Encoding them on our own is something we
don't currently do, and changing it may possibly have backwards
compatibility issues. See also #10281.
One thought might be to automatically encode `[]`, together, to allow
general array passing, and only if it appears in the query string.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18814#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list