Skip to content
Browse files

Merge pull request #14258 from shuhei/fix_deep_munge_log

Add spaces to the log message of ActionController:: LogSubscriber#deep_munge
  • Loading branch information...
2 parents 686e820 + 38594b3 commit ffcc6172b4d40ca7c8b02fd298c679b5bcf5787b @carlosantoniodasilva carlosantoniodasilva committed Mar 3, 2014
Showing with 3 additions and 3 deletions.
  1. +3 −3 actionpack/lib/action_controller/log_subscriber.rb
View
6 actionpack/lib/action_controller/log_subscriber.rb
@@ -54,9 +54,9 @@ def unpermitted_parameters(event)
end
def deep_munge(event)
- message = "Value for params[:#{event.payload[:keys].join('][:')}] was set"\
- "to nil, because it was one of [], [null] or [null, null, ...]."\
- "Go to http://guides.rubyonrails.org/security.html#unsafe-query-generation"\
+ message = "Value for params[:#{event.payload[:keys].join('][:')}] was set "\
+ "to nil, because it was one of [], [null] or [null, null, ...]. "\
+ "Go to http://guides.rubyonrails.org/security.html#unsafe-query-generation "\
"for more information."\
debug(message)

0 comments on commit ffcc617

Please sign in to comment.
Something went wrong with that request. Please try again.