Re: [whatwg/fetch] Reinvestigate redirects to data URLs (#393)

Chrome does seem to consistently fail for redirects to data URLs. E.g., adding
```html
<script src=../resources/redirect.py?location=data:,alert(1) onerror=alert('error')></script>
```
to `fetch/api/redirect/redirect-schemes.html` in web-platform-tests alerts "`error`", whereas Firefox and Safari alert "`1`".

Not sure what we want to align on here.

Firefox is the only browser to follow redirects to data URLs consistently by failing several of the tests in `fetch/api/redirect/redirect-to-dataurl.html`. It seems that other browsers have special cases for `fetch()` which would end up showing if you used a service worker.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/issues/393#issuecomment-326931050

Received on Monday, 4 September 2017 10:45:38 UTC