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...
1 parent f8646f0 commit d1eae6a18e53f1c2bc033e2b24beba5ff4901908 @carlosantoniodasilva carlosantoniodasilva committed
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 d1eae6a

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