John Pignata's blog



John PignataJohn Pignata
Prevent Cross-site Scripting Attacks with Rails 2.3.5 and rails_xss
edit Posted by John Pignata on Tuesday December 01, 2009 at 06:12PM

Earlier this week, the Rails core team released Rails 2.3.5 which introduces a major new feature: support for automatic cross-site scripting protection via the rails_xss plugin. rails_xss switches the default behavior of Rails to automatically escape all unsafe strings emitted into the view.