[wp-trac] [WordPress Trac] #19032: home_url() malfunctions when the passed URL contains two dots in a row ("..")

WordPress Trac noreply at wordpress.org
Thu Feb 28 21:04:27 UTC 2013


#19032: home_url() malfunctions when the passed URL contains two dots in a row
("..")
-----------------------------------+--------------------------
 Reporter:  markjaquith            |       Owner:  markjaquith
     Type:  defect (bug)           |      Status:  closed
 Priority:  high                   |   Milestone:  3.6
Component:  General                |     Version:  2.6
 Severity:  normal                 |  Resolution:  fixed
 Keywords:  has-patch 2nd-opinion  |
-----------------------------------+--------------------------
Changes (by nacin):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"23537"]:
 {{{
 #!CommitTicketReference repository="" revision="23537"
 Allow paths with two consecutive dots to be passed to home_url() and all
 related *_url() functions.

 props markjaquith.
 fixes #19032.
 }}}

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


More information about the wp-trac mailing list