You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Google and FB prepend while(1); or for(;;) or similar to the beginning of all their JSON responses to force malicious clients to not be able to eval the responses when stealing data (eg after overriding core bits of JS like Array). Should we too?
The text was updated successfully, but these errors were encountered:
I think that CORS headers probably mitigate it these days, but given the potential risk if people are on crappy clients which don't understand CORS, I wonder if it's worth it anyway.
Google and FB prepend while(1); or for(;;) or similar to the beginning of all their JSON responses to force malicious clients to not be able to
eval
the responses when stealing data (eg after overriding core bits of JS like Array). Should we too?The text was updated successfully, but these errors were encountered: