You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by ja...@gmail.com on 2010/02/24 19:48:48 UTC
Safe json parsing for caja code (issue216045)
Reviewers: johnfargo,
Description:
* binds safejson to gadgets.json.stringify which skips over caja
specific properties and only serializes properties a gadget has access
to.
* use json_sans_eval to parse json rather than eval
Please review this at http://codereview.appspot.com/216045/show
Affected files:
M features/src/main/javascript/features/caja/taming.js
M features/src/main/javascript/features/core.json/taming.js
M features/src/main/javascript/features/core.log/taming.js
M
java/server/src/test/java/org/apache/shindig/server/endtoend/EndToEndTest.java
A java/server/src/test/resources/endtoend/jsonTest.xml