[wp-trac] [WordPress Trac] #10298: Error in /wp-admin/ when using danish characters (æøå) in domain names
WordPress Trac
wp-trac at lists.automattic.com
Sat Dec 12 17:13:01 UTC 2009
#10298: Error in /wp-admin/ when using danish characters (æøå) in domain names
--------------------------+-------------------------------------------------
Reporter: kjeldsen | Owner: ryan
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: Security | Version: 2.8
Severity: normal | Keywords:
--------------------------+-------------------------------------------------
Changes (by dwright):
* keywords: has-patch =>
Comment:
Nevermind, cancel the patch, it's too simplistic, it just bypasses the
location ascii regex
It would be nice if we could assume that if the user specified siteurl was
the same as the actual location that everything was ok but we probably
can't.
I'll leave the patch here, so it's easy to see what the issue is.
boils down to 2 issues.
1. the native php header function does not support IDN names.[[BR]]
2. WordPress needs actual support for IDN names, something like
idn_to_ascii
(if we had the above, we could still use the existing ascii
preg_replace, just run the idn_to_ascii prior)
there are several IDN libraries around, most are GPL'd, I don't mind
adding one but I'm
probably not the right person to make that call.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/10298#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list