RESOLVED FIXED160022
Cross-origin XMLHttpRequest doesn't work with redirect
https://bugs.webkit.org/show_bug.cgi?id=160022
Summary Cross-origin XMLHttpRequest doesn't work with redirect
saurabh mahajan
Reported 2016-07-21 06:20:05 PDT
I see https://bugs.webkit.org/show_bug.cgi?id=57600 that is marked as fixed but I can still reproduce the issue with Safari 9. Steps to reproduce the problem Make a XHR request to a server (domain A) using Safari Have the server response w/ 302 to a different domain B Note that the redirect is not followed - I verified using Charle's proxy. If I use a different browser (e.g. Chrome) the redirect is followed. If the redirect is to a different URL on the same domain A, the redirect is followed. I found other instances of people running into this issue http://stackoverflow.com/questions/33044293/safari-xhr-ajax-requests-w-cross-domain-redirect-fails https://github.com/github/fetch/issues/237#issuecomment-229241133
Attachments
youenn fablet
Comment 1 2016-07-21 23:46:53 PDT
saurabh mahajan
Comment 2 2016-07-22 09:22:53 PDT
The technology preview does follow the redirect correctly. Thanks for recommending!
youenn fablet
Comment 3 2016-07-22 09:42:24 PDT
(In reply to comment #2) > The technology preview does follow the redirect correctly. Thanks for > recommending! Great! I am closing this bug. Should there be any further issue, we can reopen it.
Note You need to log in before you can comment on or make changes to this bug.