instance method
rewrite_param_values
Ruby on Rails 7.2.3
Since v4.0.13Signature
rewrite_param_values(array_params)
This removes the " characters wrapping the value.
Parameters
-
array_paramsreq
Source
# File actionpack/lib/action_controller/metal/http_authentication.rb, line 512
def rewrite_param_values(array_params)
array_params.each { |param| (param[1] || +"").gsub! %r/^"|"$/, "" }
end
Defined in actionpack/lib/action_controller/metal/http_authentication.rb line 512
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionController::HttpAuthentication::Token