[wp-trac] [WordPress Trac] #22666: When evaluating path in get_*_url(), '..' can match the query string

WordPress Trac noreply at wordpress.org
Sat Dec 29 22:15:23 UTC 2012


#22666: When evaluating path in get_*_url(), '..' can match the query string
----------------------------+------------------
 Reporter:  wonderboymusic  |       Owner:
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  3.6
Component:  Permalinks      |     Version:
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |
----------------------------+------------------
Changes (by wonderboymusic):

 * milestone:  Awaiting Review => 3.6


Comment:

 join_with_slashes never made it into 3.5 - add_path_to_url works
 generically with any URL that already has a path or not and the passed
 path. The main point of it: it condenses code that is repeated all over
 the place (10 other functions!), and join_with_slashes does not.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/22666#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list