- From: Duan Yao <notifications@github.com>
- Date: Wed, 08 Jun 2016 20:35:11 -0700
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc:
Received on Thursday, 9 June 2016 03:35:38 UTC
@lostmsu , did you read http://www.thespanner.co.uk/2011/05/30/json-hijacking/ ? You don't have to prefix your JSON with `while(1);` to protect old browsers, just make sure your JSON is always an object `{ "foo" : ... }`, not an array `[ ... ]`, because the former is not valid JS. --- 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-224792347
Received on Thursday, 9 June 2016 03:35:38 UTC