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

WordPress Trac wp-trac at lists.automattic.com
Sat May 29 09:51:49 UTC 2010


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

Comment(by westi):

 Replying to [comment:14 miqrogroove]:
 > Keep in mind Apache usually treats these URLs as identical:
 >
 > /киро[[BR]]
 > /%D0%BA%D0%B8%D1%80%D0%BE
 >
 > Most UAs will transmit the latter, but the former is also commonly used
 and completely valid when transmitted as a UTF-8 byte stream.  As such, I
 doubt that removing a call to urldecode will fix this problem correctly.
 It is more likely that the stored permalink needs to be decoded and then
 matched against the decoded request value.

 Erm. Wouldn't that break all kinds of RFCs - URIs all have to use US-ASCII
 only chars and even then a limited set of such chars AFAIK

 All UserAgents I've ever checked will always ensure that a URI used in an
 HTTP request has been urlencoded - they will usually now show you the
 pretty version of the url as that is much more user friendly.

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


More information about the wp-trac mailing list