Bug Tracker

Opened 12 years ago

Closed 12 years ago

Last modified 11 years ago

#7282 closed bug (invalid)

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浏览器的。

Change History (8)

comment:1 Changed 12 years ago by caii

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

comment:2 in reply to:  1 Changed 12 years ago by anonymous

Replying to caii:

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

你给翻译一下吧

comment:3 Changed 12 years ago by jitter

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

Version 2, edited 12 years ago by jitter (previous) (next) (diff)

comment:4 Changed 12 years ago by dmethvin

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.


comment:5 Changed 12 years ago by dmethvin

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

comment:6 Changed 12 years ago by Rick Waldron

Component: unfiledajax

comment:7 Changed 12 years ago by curiousdannii

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

comment:8 Changed 12 years ago by snover

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.

Note: See TracTickets for help on using tickets.