Permalink
Browse files

Remove Symbol from whitelisted scalar types

Fixes issue #94. Symbols should never come in through params.
  • Loading branch information...
1 parent d52c007 commit 8d83a34097b8e16d14b91d02e596b693f805e183 @stouset stouset committed Feb 1, 2013
Showing with 0 additions and 1 deletion.
  1. +0 −1 lib/action_controller/parameters.rb
View
1 lib/action_controller/parameters.rb
@@ -132,7 +132,6 @@ def convert_hashes_to_parameters(key, value)
# If you modify this collection please update the README.
PERMITTED_SCALAR_TYPES = [
String,
- Symbol,
NilClass,
Numeric,
TrueClass,

0 comments on commit 8d83a34

Please sign in to comment.