Shinya Kasatani (shinya)
- Shinya has 1 plugin published and has 0 fans on Railsify!
- http://d.hatena.ne.jp/kstn/
Safe ERB by Shinya Kasatani (shinya) in Security & Protection
Safe ERB lets you make sure that the string written by “<%= %>” in your rhtml template is escaped correctly. If you try to show the attributes in the ActiveRecord instance read from the database or the parameters received from the request without escaping them using “h” method, an exception will be raised. This will significantly reduce the possibility of putting cross-site scripting vulnerability into your web application.


