5 ms·
May I recommend https://js-quasis-libraries-and-repl.googlecode.com/svn/trunk/safetemplate.html https://js-quasis-libraries-and-repl.googlecode.com/svn/trun...
by Jabbles 14y ago
May I recommend https://js-quasis-libraries-and-repl.googlecode.com/svn/trunk/safetemplate.html https://js-quasis-libraries-and-repl.googlecode.com/svn/trun... as a good read. It examines a system that can safely escape content based on its context, and forms the basis of one of the template packages of Go.
- homakov 14y agobtw <meta http-equiv=Set-Cookie> may behave same way!
- homakov 14y agobest xss protection - http://homakov.blogspot.com/2013/02/pagebox-website-gatekeeper.html http://homakov.blogspot.com/2013/02/pagebox-website-gatekeep...
- ZoFreX 14y agoThanks for the rec, this looks really good! Reminds me a lot of XHP.