Sanitize chat messages more effectively
jamesa opened this issue · 3 comments
jamesa commented
Saw some nefarious things going on, namely iframes, arbitrary javascript execution, redirects, HTML in messages.
idoco commented
Thanks for the feedback, I added JsHtmlSanitizer .
https://code.google.com/p/google-caja/wiki/JsHtmlSanitizer
Please reopen if you the problem again.
jamesa commented
@idoco Thanks for fixing this! By the way, can you point me in the right direction to getting this running on my machine? Specifically about this: https://github.com/idoco/map-chat/blob/gh-pages/javascript/main.js#L10 :) (Think I'm good with everything else.)