Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Dont dup params twice when filter_parameters is present

  • Loading branch information...
commit 934f98e4cf7c43f8c632496b02ac99492d6b3de1 1 parent aba1d77
@lifo lifo authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 actionpack/lib/action_controller/base.rb
View
4 actionpack/lib/action_controller/base.rb
@@ -1244,8 +1244,8 @@ def log_processing_for_session_id
end
def log_processing_for_parameters
- parameters = respond_to?(:filter_parameters) ? filter_parameters(params) : params
- parameters = parameters.except(:controller, :action, :format)
+ parameters = respond_to?(:filter_parameters) ? filter_parameters(params) : params.dup
+ parameters = parameters.except!(:controller, :action, :format)
logger.info " Parameters: #{parameters.inspect}"
end
Please sign in to comment.
Something went wrong with that request. Please try again.