AJAX calls to IDN don't work in IE and Opera
|Reported by:||SergeyBiryukov||Owned by:||nacin|
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 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.
Change History (21)
comment:2 SergeyBiryukov — 20 months ago
- Summary changed from AJAX calls to IDN don't work in IE to AJAX calls to IDN don't work in IE and Opera
comment:7 SergeyBiryukov — 17 months ago
- Component changed from External Libraries to I18N
- Keywords dev-feedback added
comment:13 nacin — 17 months ago
- Owner set to nacin
- Resolution set to fixed
- Status changed from new to closed