Permalink
Browse files

prevent people from accidentally modifying the filter word

  • Loading branch information...
1 parent c6c6ffb commit 6c3166a169c922d7ffb4feaea3684c4dd0168ef6 @tenderlove tenderlove committed Oct 19, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_dispatch/http/parameter_filter.rb
View
2 actionpack/lib/action_dispatch/http/parameter_filter.rb
@@ -15,7 +15,7 @@ def filter(params)
private
- FILTERED = '[FILTERED]'
+ FILTERED = '[FILTERED]'.freeze
def compiled_filter
@compiled_filter ||= begin

0 comments on commit 6c3166a

Please sign in to comment.