cabrel-hapi-json
A plugin for hapi that prefixes )]}',
to all JSON responses.
References
http://haacked.com/archive/2008/11/20/anatomy-of-a-subtle-json-vulnerability.aspx http://docs.angularjs.org/api/ng.$http#jsonvulnerabilityprotection
A plugin for hapi that prefixes )]}',
to all JSON responses.
http://haacked.com/archive/2008/11/20/anatomy-of-a-subtle-json-vulnerability.aspx http://docs.angularjs.org/api/ng.$http#jsonvulnerabilityprotection
npm i cabrel-hapi-json
0
0.1.2
MIT