[wp-trac] [WordPress Trac] #12373: Problems with slugs - urldecode

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


#12373: Problems with slugs - urldecode
--------------------------+-------------------------------------------------
 Reporter:  bi0xid        |       Owner:                                                  
     Type:  defect (bug)  |      Status:  new                                             
 Priority:  normal        |   Milestone:  3.0                                             
Component:  Optimization  |     Version:                                                  
 Severity:  normal        |    Keywords:  urldecode slug permalink optimization validation
--------------------------+-------------------------------------------------
 Hi there.

 Spanish users have some problems with permalink/slug creation.
 Here we use '¿' and '¡' as common characters. This characters are not
 included in ''urldecode'' function, so they appear as-is.

 If I write as title:

 {{{
 ¿Animación compartida en España?
 }}}

 the slug/permalink will be:

 {{{
 ¿animacion-compartida-en-espana
 }}}

 Sadly, this character brokes FeedBurner catcher and our customers are not
 very happy.

 We have tried to do a personalized function and used it in the filter:

 {{{
 add_filter( 'editable_slug', 'slughish_url');
 }}}

 but it doesn't work (it returns a changed ñ->n,  which is not specified in
 the function, and returns ''c2bf'' for ''¿'').

 Any ideas?

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/12373>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list