module
ActionDispatch::Http::FilterParameters
v8.1.1 -
Show latest stable
# Action Dispatch HTTP Filter Parameters
Allows you to specify sensitive query string and POST parameters to filter from the request log.
# Replaces values with "[FILTERED]" for keys that match /foo|bar/i. env["action_dispatch.parameter_filter"] = [:foo, "bar"]
For more information about filter behavior, see ActiveSupport::ParameterFilter.
Files
- actionpack/lib/action_dispatch/http/filter_parameters.rb