Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Does anyone know if the jQuery JSON parser has this fix by any chase?


jQuery JSON parser will delegate to JSON.parse where available, which doesn't have this problem.

Using JSONP with jQuery, you have to directly eval() the response from the server, and you don't control what the server sends - it could send invalid javascript with these code points in it. You can't fix that from the client-side, jQuery can't fix that.

The servers have to be patched.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: