Skip to main content

Bug Tracker

Side navigation

#7282 closed bug (invalid)

Opened October 22, 2010 08:25AM UTC

Closed October 23, 2010 08:08AM UTC

Last modified March 14, 2012 02:45AM UTC

IE does not support the Access-Control-Allow-Origin Header declaration

Reported by: anonymous Owned by:
Priority: undecided Milestone: 1.5
Component: ajax Version: 1.4.3
Keywords: Cc:
Blocked by: Blocking:
Description

$.get() 方法在IE中不支持 Access-Control-Allow-Origin Header声明,

IE中XMLHttpRequest对象是不支持跨域访问的,只有XDomainRequest才支持,所以对于ajax跨域访问问题时,是不兼容IE浏览器的。

Attachments (0)
Change History (8)

Changed October 22, 2010 09:14AM UTC by caii comment:1

哈哈..写成英文会好点吧,中文只有我们自己懂啊!

不过,至少你应该提供一个测试样例...

Changed October 22, 2010 09:51AM UTC by anonymous comment:2

Replying to [comment:1 caii]:

哈哈..写成英文会好点吧,中文只有我们自己懂啊! 不过,至少你应该提供一个测试样例...

你给翻译一下吧

Changed October 22, 2010 12:56PM UTC by jitter comment:3

_comment0: Umm? I can't read s**t of this bug report and comments???1287752206424226
_comment1: Umm? I can't read s\\**t of this bug report and comments???1287752241472909
_comment2: Umm? I can't see/ready any text on bug report and comments???1287752252619186

Umm? I can't see/read any text on bug report and comments???

Changed October 22, 2010 02:05PM UTC by dmethvin comment:4

Translation by Google:


$.get () method in IE does not support the Access-Control-Allow-Origin Header declaration

IE, XMLHttpRequest object does not support cross-domain access, and only XDomainRequest is supported, so for ajax cross domain access issue, it is not compatible with IE browser.


Changed October 22, 2010 02:08PM UTC by dmethvin comment:5

summary: $.get() 方法在IE中不支持 Access-Control-Allow-Origin Header声明IE does not support the Access-Control-Allow-Origin Header declaration

Changed October 22, 2010 05:46PM UTC by rwaldron comment:6

component: unfiledajax

Changed October 23, 2010 01:59AM UTC by curiousdannii comment:7

Will be fixed by #7195 if/when it gets merged.

Changed October 23, 2010 08:08AM UTC by snover comment:8

resolution: → invalid
status: newclosed

We can’t make IE suddenly understand and respect the CORS headers. The best we can do is implement XDomainRequest, which is already due in #7195 and requested in #3342.