[wp-trac] [WordPress Trac] #12271: Using # in permalinks breaks preg_match in parse_request

WordPress Trac wp-trac at lists.automattic.com
Thu Feb 18 10:13:54 UTC 2010


#12271: Using # in permalinks breaks preg_match in parse_request
--------------------------+-------------------------------------------------
 Reporter:  timsogard     |       Owner:  ryan 
     Type:  defect (bug)  |      Status:  new  
 Priority:  normal        |   Milestone:  3.0  
Component:  Permalinks    |     Version:  2.9.2
 Severity:  normal        |    Keywords:       
--------------------------+-------------------------------------------------

Comment(by dd32):

 nacin just pointed out to me on IRC why preg_quote wont work here..
 Escaping # is the easy solution here, Unless theres a better delimiter
 which isnt potentialy used within a url.

 # should never be sent to the server directly, but perhaps it could be
 sent urlencoded? which would then work in the rewrite code.. I'm not sure.

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


More information about the wp-trac mailing list