Rails 3+ has automatic XSS prevention. Can I get the same thing in Padrino, and if so, how?
Asked
Active
Viewed 271 times
1 Answers
1
Sure, if you are using Slim for example is turned on by default
== 'this is not escaped'
= 'this is escaped'

DAddYE
- 1,719
- 11
- 16
-
What about erubis? I do it as sinatra FAQ page: `Sinatra::Base.set :erubis, :escape_html => true`, but it does't work for padrino. – Hooopo Jan 14 '13 at 07:46