auto escaping html in Rails to protect from XSS
by MichaĆ Kuklis on 29/07/2009Tonight I found a plugin to auto escape html in order to protect from XSS attacks. I’m not sure why rails doesn’t do it out of the box (you have to use h() helper). Anyway the plugin is called xss_terminate and it can be found here. The cool thing about it is that now you can forget about h()
.
There is 1 comment in this article: