"It will definitely drive. It might explode, though...
- or lose your luggage."
"I just got owned!"
content.gsub(/<\/?script>/,'')
<scr<script></script>ipt>alert('boo');</script>
<script>alert('boo');</script>
[GET] https://site.com/delete_user/5
<img src="https://site.com/delete_user/5">
"Where did my profile go?"
<img src="/logout">
<img src="/delete_profile">
User.find_by_sql("SELECT * FROM users WHERE id=" + params[id])
"/user/1; DROP TABLE users;"
See also: rails-sqli.org
rails new [appname]
validates_format_of :name, with: /^[a-z ]+$/i
Joe User <script>alert("Boo hoo");</script>
validates_format_of :name, with: /\A[a-z ]+\z/i