Why are CORS requests failing in Microsoft Edge but working in other browsers?

后端 未结 3 574
我在风中等你
我在风中等你 2020-12-01 08:36

I\'m using jQuery to send cross origin ajax requests and they\'re working fine in IE11, Chrome and Firefox but they fail in Edge with the following error:

3条回答
  •  忘掉有多难
    2020-12-01 09:03

    I came across this question, and after trying several options, what worked for me was removing the domain I am working from all the Zone site entries. Using local.myapp.test as an example, I checked for any "anysubdomain".myapp.test, entries and removed them from all zones, including all sub domains or wild card entries.

    In Internet Options (IE 11) , select security tab, and in "Local intranet" click "sites" then "Advanced" and removed relevant domain references in there.

    In "Trusted sites" click "sites" and removed relevant entries from the list in there

提交回复
热议问题