Closed Bug 1102337 Opened 11 years ago Closed 5 years ago

CORS GET request with no special headers fails to follow redirect

Categories

(Core :: Networking: HTTP, defect, P5)

35 Branch
x86
Linux
defect

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: fiatjaf, Unassigned)

References

()

Details

(Whiteboard: [necko-backlog])

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:35.0) Gecko/20100101 Firefox/35.0 Build ID: 20141110194624 Steps to reproduce: 1. Go to http://fiatjaf.alhur.es/scrapbook/ 2. Wait for the page to load Actual results: Firefox sends a preflight (OPTIONS) request to https://fiatjaf.couchappy.com/scrapbook/_design/scrapbook/_rewrite, then the actual request, and gets back a 302 redirect, which it does not follow and fails with an unrelated error: "Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://fiatjaf.couchappy.com/scrapbook/_design/scrapbook/_rewrite. This can be fixed by moving the resource to the same domain or enabling CORS." The page shows a blank form and nothing below it. Expected results: The browser shouldn't have sent the preflight request, as the main request was a simple GET with no special headers, then it should had followed the redirect. The page should show a list of comments below the blank form.
Jason, anything we already know of?
Whiteboard: [necko-backlog]
The page became a 404. fiatjaf, any chance you can give us a new demo or turn it into a test: https://github.com/w3c/web-platform-tests?
Priority: -- → P1
Priority: P1 → P3

Bulk-downgrade of unassigned, >=3 years untouched DOM/Storage bug's priority.

If you have reason to believe this is wrong, please write a comment and ni :jstutte.

Severity: normal → S4
Priority: P3 → P5

Let's close this due to lack of needed follow-up.

Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.