[wp-trac] [WordPress Trac] #22951: Performance enhancements for esc_url()

WordPress Trac noreply at wordpress.org
Mon Aug 28 09:37:47 UTC 2017


#22951: Performance enhancements for esc_url()
-------------------------------------------------+-------------------------
 Reporter:  markjaquith                          |       Owner:  schlessera
     Type:  defect (bug)                         |      Status:  assigned
 Priority:  normal                               |   Milestone:  Future
Component:  Formatting                           |  Release
 Severity:  normal                               |     Version:  2.8
 Keywords:  reporter-feedback has-patch 2nd-     |  Resolution:
  opinion                                        |     Focuses:
                                                 |  performance
-------------------------------------------------+-------------------------

Comment (by schlessera):

 The test failures were due to two issues:

 * the protocol is normalized to lowercase by the full protocol check
 * `http` needs to be rejected when only `https` is allowed, and vice
 versa.

 Both problems should be solved.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/22951#comment:19>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list