diff options
author | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2014-03-03 11:07:40 -0300 |
---|---|---|
committer | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2014-03-03 11:07:40 -0300 |
commit | ffcc6172b4d40ca7c8b02fd298c679b5bcf5787b (patch) | |
tree | ee63e59b3b48d7f6edeca96fff5de1ca4aafe88d /actionpack | |
parent | 686e820c48ec8d1509e160816626b7418fb04b13 (diff) | |
parent | 38594b35275a431ccf2fdc10be7219685aeed487 (diff) | |
download | rails-ffcc6172b4d40ca7c8b02fd298c679b5bcf5787b.tar.gz rails-ffcc6172b4d40ca7c8b02fd298c679b5bcf5787b.tar.bz2 rails-ffcc6172b4d40ca7c8b02fd298c679b5bcf5787b.zip |
Merge pull request #14258 from shuhei/fix_deep_munge_log
Add spaces to the log message of ActionController:: LogSubscriber#deep_munge
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/lib/action_controller/log_subscriber.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/actionpack/lib/action_controller/log_subscriber.rb b/actionpack/lib/action_controller/log_subscriber.rb index e920a33765..b1acca2435 100644 --- a/actionpack/lib/action_controller/log_subscriber.rb +++ b/actionpack/lib/action_controller/log_subscriber.rb @@ -54,9 +54,9 @@ module ActionController 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) |