Re: [fetch] Handling of data URLs (#111)

Thanks!

> 2) All redirects should unset the same-origin data-URL flag. What makes you think it is only unset for certain modes?
Ah, my statement was ambiguous; I meant:
- the same-origin data-URL flag is unset in all redirects for all modes,
- but fetch is resolved in "no-cors" mode (and rejected in other modes),
  because the processing falls through into the fifth bullet of Step 8 of main fetch:
  "=> request's mode is "no-cors""
  after the condition
  "=> request's current url's scheme is "data" and request's same-origin data-URL flag is set"
  was tested and not met.

> acknowledgments
"Hiroshige Hayashizaki" is fine. Thanks!


---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/issues/111#issuecomment-132143226

Received on Tuesday, 18 August 2015 09:35:53 UTC