Re: [whatwg/fetch] Response filter escalation (#535)

> I don't think the current setup has a security issue though. Yes, you can request a "no-cors" cross-origin URL and get a "basic" response back, but as far as I can tell that's all safe.

It is safe, but it seems a bit surprising to me (and I would guess devs).  There is no way to get a non-opaque back from `fetch(crossOriginURL, { mode: 'no-cors' })` normally.  It would be nice to keep that consistent instead of exposing an exceptional case; "always opaque, unless a service worker intercepts and does something".

-- 
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/535#issuecomment-298712459

Received on Tuesday, 2 May 2017 17:59:41 UTC