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

WordPress Trac wp-trac at lists.automattic.com
Mon Oct 25 14:58:03 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):

 westi's patch looks good. It shouldn't break anything, because later we
 are matching the regular expression against both the decoded and the raw
 URI values.

 The only difference should be that if we decode it, we might lose the
 encoded version.

 If we want to be extra sure, we could try matching against the encoded
 version, too, accounting for web servers, which put UTF-8 in the request
 URI and we end up with not-encoded version, only.

 @ivoapostolov, I couldn't reproduce the slash problems—it works for me
 with and without slashes. If there isn't a slash, WordPress does a 301
 redirect to the slashed URL. Moreover, there isn't any difference in
 routing based on referer. Do you still have this problem with a vanilla
 install and all plugins disabled?

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

More information about the wp-trac mailing list