[wp-trac] [WordPress Trac] #21974: esc_url() doesn't allow protocol-relative URLs with colons

WordPress Trac noreply at wordpress.org
Fri Jun 21 15:39:54 UTC 2013


#21974: esc_url() doesn't allow protocol-relative URLs with colons
----------------------------+------------------
 Reporter:  SergeyBiryukov  |       Owner:
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  3.6
Component:  Formatting      |     Version:
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |
----------------------------+------------------

Comment (by markjaquith):

 Weird quirk: the bug does not trigger when the path is "/"

 Triggers the issue: `//example.com/foo?foo=abc:def`

 Does not: `//example.com/?foo=abc:def`

 See: [1296/tests]

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


More information about the wp-trac mailing list