[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
Fri Jan 25 19:29:00 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  |
------------------------------+---------------------

Comment (by nacin):

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

 Merges [23303] to the 3.5 branch.

 props mdawaffe.
 fixes #23187.
 }}}

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


More information about the wp-trac mailing list