1
0
Fork 0
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:
Leon Breedt 2005-03-15 21:07:48 +00:00
parent 9015ce4cc2
commit 9776bfc8a0

View file

@ -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!