[wp-trac] Re: [WordPress Trac] #6697: Percent Encoding in URL should be capital alphabets instead of small letters

WordPress Trac wp-trac at lists.automattic.com
Sat Apr 18 17:50:29 GMT 2009


#6697: Percent Encoding in URL should be capital alphabets instead of small
letters
--------------------------+-------------------------------------------------
 Reporter:  akky          |       Owner:  ryan       
     Type:  defect (bug)  |      Status:  new        
 Priority:  normal        |   Milestone:  2.8        
Component:  Permalinks    |     Version:  2.5        
 Severity:  major         |    Keywords:  needs-patch
--------------------------+-------------------------------------------------
Changes (by Denis-de-Bernardy):

  * keywords:  UTF-8, URL, normalization => needs-patch
  * milestone:  2.9 => 2.8


Comment:

 suggested patch is not good. /e is being eliminated in WP in a separate
 ticket, in favor of preg_replace_callback. also, the regex could just as
 well be this, to reduce backtraces:

 "/%[a-f0-9]{2}/"

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


More information about the wp-trac mailing list