Browse files

Add spaces to deep_munge log message.

  • Loading branch information...
1 parent 686e820 commit 38594b35275a431ccf2fdc10be7219685aeed487 @shuhei shuhei 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 38594b3

Please sign in to comment.