[wp-trac] Re: [WordPress Trac] #4884: wp_nonce_url() is generating broken URLs

WordPress Trac wp-trac at lists.automattic.com
Sat Sep 1 23:14:21 GMT 2007


#4884: wp_nonce_url() is generating broken URLs
-----------------------------+----------------------------------------------
 Reporter:  Viper007Bond     |        Owner:  markjaquith
     Type:  defect           |       Status:  assigned   
 Priority:  highest omg bbq  |    Milestone:  2.3        
Component:  General          |      Version:  2.3        
 Severity:  blocker          |   Resolution:             
 Keywords:  needs-patch      |  
-----------------------------+----------------------------------------------
Changes (by markjaquith):

  * status:  new => assigned

Comment:

 The PEAR one has issues (don't remember what -- just remember that it give
 different results than PHP5's function).  [6005] should have fixed this,
 although I might end up moving that fix up the line to
 {{{wp_nonce_url()}}}

 And this issue happens on PHP5 hosts, so it's not an issue with the compat
 function, but with {{{http_build_query()}}}'s handling of {{{&}}}

 At any rate, {{{&}}} doesn't belong in a URL until we're ready to
 output it to HTML.  I wouldn't expect {{{http_build_query()}}} to handle
 that.  I'm going to leave this ticket open and track the issue here, as
 most of the instances I've found are using {{{wp_nonce_url()}}}

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


More information about the wp-trac mailing list