aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2014-02-14 14:40:10 -0200
committerRafael Mendonça França <rafaelmfranca@gmail.com>2014-02-14 14:40:10 -0200
commit8ce72d91b68ef61ce7149ccac0c1be8923561ac2 (patch)
tree0bd14c57828e343e62e59b9ab8b34a17defa261e /guides
parent820f635bfbde959750a1e0806e023462eea515b0 (diff)
parent848e377a2017234e3831599346918fb8d413fd28 (diff)
downloadrails-8ce72d91b68ef61ce7149ccac0c1be8923561ac2.tar.gz
rails-8ce72d91b68ef61ce7149ccac0c1be8923561ac2.tar.bz2
rails-8ce72d91b68ef61ce7149ccac0c1be8923561ac2.zip
Merge pull request #14061 from davejachimiak/add_verb_in_guides
Add verb to sanitization note
Diffstat (limited to 'guides')
-rw-r--r--guides/source/security.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/security.md b/guides/source/security.md
index 70fb066b64..ece431dae7 100644
--- a/guides/source/security.md
+++ b/guides/source/security.md
@@ -549,7 +549,7 @@ Injection is very tricky, because the same code or parameter can be malicious in
### Whitelists versus Blacklists
-NOTE: _When sanitizing, protecting or verifying something, whitelists over blacklists._
+NOTE: _When sanitizing, protecting or verifying something, prefer whitelists over blacklists._
A blacklist can be a list of bad e-mail addresses, non-public actions or bad HTML tags. This is opposed to a whitelist which lists the good e-mail addresses, public actions, good HTML tags and so on. Although sometimes it is not possible to create a whitelist (in a SPAM filter, for example), _prefer to use whitelist approaches_: