[Webkit-unassigned] [Bug 160022] New: Cross-origin XMLHttpRequest doesn't work with redirect

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jul 21 06:20:05 PDT 2016


https://bugs.webkit.org/show_bug.cgi?id=160022

            Bug ID: 160022
           Summary: Cross-origin XMLHttpRequest doesn't work with redirect
    Classification: Unclassified
           Product: WebKit
           Version: Safari 9
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: XML
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: saby.mjn at gmail.com

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

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160721/61d3c8aa/attachment.html>


More information about the webkit-unassigned mailing list