[wp-trac] Re: [WordPress Trac] #7486: When looking for rewrite rules matches, change preg_match start/end character from ! to % or #

WordPress Trac wp-trac at lists.automattic.com
Sun Jan 4 13:44:33 GMT 2009


#7486: When looking for rewrite rules matches, change preg_match start/end
character from ! to % or #
-------------------------+--------------------------------------------------
 Reporter:  aesqe        |        Owner:  anonymous
     Type:  enhancement  |       Status:  new      
 Priority:  lowest       |    Milestone:  2.8      
Component:  General      |      Version:  2.6      
 Severity:  trivial      |   Resolution:           
 Keywords:  needs-patch  |  
-------------------------+--------------------------------------------------
Comment (by DD32):

 > Only if you were doing non-escaped redirection on an anchor. I guess it
 would be pretty rare.

 Does the Anchor even get sent -to- the server? I dont think it does?

 Eitherway, It needs to use something as a delim. I would think # wouldnt
 be used within a URL (assuming its not sent to the server, and i'm pretty
 sure it isnt) in order to prevent confusing browsers, else it'd have to be
 escaped.. and that would just be plain ugly..

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


More information about the wp-trac mailing list