Re: [whatwg/fetch] json() function does not support anti-json hijacking techniques (#321)

json hijacking is no longer possible in modern browsers:
http://stackoverflow.com/questions/16289894/is-json-hijacking-still-an-issue-in-modern-browsers

For older browsers, you can choose not to generate JSON with top level `[ ]`. see
http://www.thespanner.co.uk/2011/05/30/json-hijacking/

---
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/321#issuecomment-224474880

Received on Wednesday, 8 June 2016 03:00:18 UTC