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

WordPress Trac noreply at wordpress.org
Thu Jul 11 20:41:20 UTC 2013


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

Comment (by mdawaffe):

 Replying to [comment:9 markjaquith]:
 > Weird quirk: the bug does not trigger when the path is "/"

 Yeah - there's a strange exception is kses for this case.

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


More information about the wp-trac mailing list