mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
dup the value received from @request, so we modify the copy and not the original,
and avoid frozen errors. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@912 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
parent
9015ce4cc2
commit
9776bfc8a0
1 changed files with 1 additions and 0 deletions
|
@ -46,6 +46,7 @@ module ActionWebService # :nodoc:
|
|||
return nil unless request.method == :post
|
||||
soap_action = request.env['HTTP_SOAPACTION']
|
||||
return nil unless soap_action
|
||||
soap_action = soap_action.dup
|
||||
soap_action.gsub!(/^"/, '')
|
||||
soap_action.gsub!(/"$/, '')
|
||||
soap_action.strip!
|
||||
|
|
Loading…
Reference in a new issue