diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2012-10-18 17:16:33 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2012-10-18 17:16:33 -0700 |
commit | 6c3166a169c922d7ffb4feaea3684c4dd0168ef6 (patch) | |
tree | 5c97e310165b8068e73ab00ae6143d4cb4026a50 /actionpack/lib | |
parent | c6c6ffbd621f8bccfdda0431e7cc8cc5529b1c3b (diff) | |
download | rails-6c3166a169c922d7ffb4feaea3684c4dd0168ef6.tar.gz rails-6c3166a169c922d7ffb4feaea3684c4dd0168ef6.tar.bz2 rails-6c3166a169c922d7ffb4feaea3684c4dd0168ef6.zip |
prevent people from accidentally modifying the filter word
Diffstat (limited to 'actionpack/lib')
-rw-r--r-- | actionpack/lib/action_dispatch/http/parameter_filter.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_dispatch/http/parameter_filter.rb b/actionpack/lib/action_dispatch/http/parameter_filter.rb index 4edf235717..0939418afa 100644 --- a/actionpack/lib/action_dispatch/http/parameter_filter.rb +++ b/actionpack/lib/action_dispatch/http/parameter_filter.rb @@ -15,7 +15,7 @@ module ActionDispatch private - FILTERED = '[FILTERED]' + FILTERED = '[FILTERED]'.freeze def compiled_filter @compiled_filter ||= begin |