[wp-trac] [WordPress Trac] #10249: Page slug in cyrillic = Error 404 - Not Found!
WordPress Trac
wp-trac at lists.automattic.com
Tue Jun 29 16:24:24 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 miqrogroove):
More thoughts on the UTF-8 headers issue: I haven't had a chance to test
PHP's REQUEST_URI value yet. My idea to urldecode the requested and
stored paths was based on the behavior of mod_rewrite, where the curly
apostrophe is always represented as "\xe2\x80\xa6" instead of the
urlencoded version. What might be a simpler solution if PHP is providing
mixed encodings is to urlencode only the bytes >= 128 before comparing it
to the stored version. That would convert any UTF-8 byte stream into the
WordPress format of url-encoded UTF-8.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/10249#comment:23>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list