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

WordPress Trac wp-trac at lists.automattic.com
Mon Oct 24 06:55:41 UTC 2011


#19032: home_url() malfunctions when the passed URL contains two dots in a row
("..")
-------------------------------------------------+-------------------------
 Reporter:  markjaquith                          |       Owner:
     Type:  defect (bug)                         |  markjaquith
 Priority:  high                                 |      Status:  accepted
Component:  General                              |   Milestone:  Awaiting
 Severity:  normal                               |  Review
 Keywords:  has-patch 2nd-opinion needs-unit-    |     Version:
  tests                                          |  Resolution:
-------------------------------------------------+-------------------------

Comment (by nacin):

 In IRC we tracked this down to #7001. It was codified into unit tests,
 specifically TestSSLLinks::test_admin_url_invalid(), but I think the
 original case was invalid. We're talking about URL paths rather than
 anything that will touch the filesystem.

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


More information about the wp-trac mailing list