[wp-trac] [WordPress Trac] #10249: Page slug in cyrillic = Error 404 - Not Found!

WordPress Trac wp-trac at lists.automattic.com
Tue Oct 26 10:34:47 UTC 2010


#10249: Page slug in cyrillic = Error 404 - Not Found!
-----------------------------------+----------------------------------------
 Reporter:  kalifi                 |        Owner:  westi          
     Type:  defect (bug)           |       Status:  accepted       
 Priority:  normal                 |    Milestone:  Awaiting Triage
Component:  Permalinks             |      Version:  2.7            
 Severity:  normal                 |   Resolution:                 
 Keywords:  has-patch 2nd-opinion  |  
-----------------------------------+----------------------------------------

Comment(by nbachiyski):

 If there is a chance that leaving the URI urlencoded, why don't we do it
 the other way round.

 We leave the {{{rawurldecode()}}} call and when we match, we try to match
 by URI, urlencoded URI '''and''' urldecoded URI.

 The patch is attached, it solves the problem in the ticket for me, and I
 can't imagine how it can break anything.

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


More information about the wp-trac mailing list