AJAX call following 302 redirect sets origin to null

后端 未结 2 867
借酒劲吻你
借酒劲吻你 2020-12-11 00:40

I\'m doing an AJAX call from domain A to domain B.

My domain B checks if A is in the list of allowed domains and sets the Access-Control-allow-Origin to

相关标签:
2条回答
  • 2020-12-11 00:59

    I set Access-Control-Allow-Origin: null on domain A and that worked.

    0 讨论(0)
  • 2020-12-11 01:04

    See here, this seems to suggest its related to a "privacy-sensitive" context.

    Are there any browsers that set the origin header to "null" for privacy-sensitive contexts?

    0 讨论(0)
提交回复
热议问题