Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Remove Symbol from whitelisted scalar types #95

Closed
wants to merge 1 commit into from

2 participants

@stouset

Fixes issue #94. Symbols should never come in through params.

@stouset stouset Remove Symbol from whitelisted scalar types
Fixes issue #94. Symbols should never come in through params.
8d83a34
@fxn
Owner
fxn commented

Closing to prevent merges until an agreement is reached in the issue linked above.

@fxn fxn closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Feb 1, 2013
  1. @stouset

    Remove Symbol from whitelisted scalar types

    stouset authored
    Fixes issue #94. Symbols should never come in through params.
This page is out of date. Refresh to see the latest.
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,
Something went wrong with that request. Please try again.