[wp-trac] Re: [WordPress Trac] #4878: add_query_args() mangles URLs with encoded arrays in them

WordPress Trac wp-trac at lists.automattic.com
Fri Aug 31 03:01:48 GMT 2007


#4878: add_query_args() mangles URLs with encoded arrays in them
---------------------+------------------------------------------------------
 Reporter:  ryan     |        Owner:  anonymous
     Type:  defect   |       Status:  new      
 Priority:  normal   |    Milestone:  2.3      
Component:  General  |      Version:  2.3      
 Severity:  normal   |   Resolution:           
 Keywords:           |  
---------------------+------------------------------------------------------
Comment (by markjaquith):

 003

 Upgrades our http_build_query() compat function, which has been renamed to
 _http_build_query() with a pass-through for compat.  Because early PHP5
 versions don't accept the separator param, we could get wacky results if
 it is set in php.ini, so unless it is '&' in php.ini, we use our own
 version.

 I haven't thoroughly tested this... but just wanted to throw it out there
 before I retired for the night.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/4878#comment:3>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list