[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 14:27:38 UTC 2011


#18814: wp_redirect wont allow arrays to be sent in query string
--------------------------+-----------------------------
 Reporter:  jacksplay     |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  3.2.1
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 The pluggable function wp-redirect will not allow arrays to be sent in a
 query string.

 ie: http://www.example.com/?array[]=first&array[]=second&array[]=last

 The brackets are stripped out when the URL is sanitized and it becomes:

 http://www.example.com/?array=first&array=second&array=last

 This removes the ability to pass the array.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18814>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list