[wp-trac] Re: [WordPress Trac] #3206: strip initial exclamation and question marks in permalinks

WordPress Trac wp-trac at lists.automattic.com
Wed Feb 20 16:43:48 GMT 2008


#3206: strip initial exclamation and question marks in permalinks
-----------------------------+----------------------------------------------
 Reporter:  pandem           |        Owner:  anonymous
     Type:  defect           |       Status:  reopened 
 Priority:  normal           |    Milestone:  2.7      
Component:  General          |      Version:  2.0.4    
 Severity:  minor            |   Resolution:           
 Keywords:  formatting i18n  |  
-----------------------------+----------------------------------------------
Comment (by pishmishy):

 I hoped I'd get that response ;-) I don't think the whitelist needs to be
 that large. To work, whitelist would limit the slug to just (see RFC 3986
 Appendix A)
 {{{
 ALPHA / DIGIT / "-" / "." / "_" / "~"
 }}}
 I'm not sure that'd be well received but if we could find a way to make it
 work.
 I think we have three options.

 - Do nothing. This seems inconsistent, we have done something for other
 characters.

 - Whitelist the small set of characters that won't be percent encoded
 according to RFC 3986

 - Whack-a-mole filtering of characters as and when people ask for it.

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


More information about the wp-trac mailing list