Closed (fixed)
Project:
Path
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Feb 2007 at 01:47 UTC
Updated:
9 Feb 2007 at 01:49 UTC
When setting a node's URL path to something like ÅÄÖåäö the URL will (seemingly correctly) become:
http://localhost/lab/drupal51/?q=%C3%85%C3%84%C3%96%C3%A5%C3%A4%C3%B6
But when trying to browse the following url in my browser:
http://localhost/lab/drupal51/?q=ÅÄÖåäö
...it gets rewritten as
http://localhost/lab/drupal51/?q=%C5%C4%D6%E5%E4%F6
And thus the correct node is not found.
Drupal.org rewrites the URL in the same manner. Try http://drupal.org/ÅÄÖåäö
It will show:
http://drupal.org/%C5%C4%D6%E5%E4%F6
MediaWiki sites though, rewrites this correctly. Try http://www.mediawiki.org/wiki/ÅÄÖåäö
It will show:
http://www.mediawiki.org/wiki/%C3%85%C3%84%C3%96%C3%A5%C3%A4%C3%B6
Comments
Comment #1
saml commentedSorry, forgot to add my Server info et.c.
This was tested on Drupal 5.1 (official release) and 5.2 dev as of 2007-02-06, running on
Windows XP Professional
ApacheFriends XAMPP Lite version 1.5.4a
+ Apache 2.2.3
+ MySQL 5.0.24a
+ PHP 5.1.6 + PEAR (basic package)
(Also think this is a critical one, so changed that)
Comment #2
saml commentedThis seems to be a charset issue, where, on setting the path it is rewritten with UTF-8, but on requesting the URL it is rewritten with something like ISO-8859-1?
Comment #3
saml commented(Moved the issue to http://drupal.org/node/117373 since this isn't the right place after the path has moved into the drupal core.)