[wp-trac] [WordPress Trac] #18952: AJAX calls to IDN don't work in IE
WordPress Trac
wp-trac at lists.automattic.com
Fri Oct 14 17:49:52 UTC 2011
#18952: AJAX calls to IDN don't work in IE
--------------------------------+-----------------------------
Reporter: SergeyBiryukov | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: External Libraries | Version: 3.2.1
Severity: normal | Keywords:
--------------------------------+-----------------------------
In jQuery 1.5+, AJAX requests on sites with IDN domains don't work in IE 8
or 9.
On Edit Post screen, adding a new category results in JS error:
{{{
Message: 'parsed.responses' - is null or not an object
Line: 311
Char: 4
Code: 0
URI: http://домен.рф/wp-admin/js/post.dev.js?ver=20110524
}}}
On Categories screen, adding a new category silently fails.
According to [http://bugs.jquery.com/ticket/8419#comment:3 jaubourg's
comment] in jQuery bug tracker, the request is considered cross-domain
and, since IE doesn't support cross-domain requests, AJAX won't find a
suitable transport and bail out. The ticket only refers to IE 8, but I've
checked this in IE 9, and it seems to show the same behaviour.
A workaround suggested there is to use unencoded domain name or strip it
completely.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18952>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list