[wp-trac] [WordPress Trac] #23187: esc_url() fails if the URL's scheme's case does not match the allowed protocol's case

WordPress Trac noreply at wordpress.org
Thu Jan 17 15:07:33 UTC 2013


#23187: esc_url() fails if the URL's scheme's case does not match the allowed
protocol's case
------------------------------+---------------------
 Reporter:  mdawaffe          |       Owner:  nacin
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  3.6
Component:  Formatting        |     Version:
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |
------------------------------+---------------------
Changes (by nacin):

 * owner:   => nacin
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"23303"]:
 {{{
 #!CommitTicketReference repository="" revision="23303"
 Treat URL schemes as case insensitive when sanitizing them in esc_url().

 props mdawaffe.
 fixes #23187.
 tests: [1184/tests]
 }}}

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


More information about the wp-trac mailing list