From 9776bfc8a0e110dce751d0e78305432a155b93cd Mon Sep 17 00:00:00 2001 From: Leon Breedt Date: Tue, 15 Mar 2005 21:07:48 +0000 Subject: 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 --- actionwebservice/lib/action_web_service/protocol/soap_protocol.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'actionwebservice/lib/action_web_service/protocol') diff --git a/actionwebservice/lib/action_web_service/protocol/soap_protocol.rb b/actionwebservice/lib/action_web_service/protocol/soap_protocol.rb index 6e3df54b00..51d37ba032 100644 --- a/actionwebservice/lib/action_web_service/protocol/soap_protocol.rb +++ b/actionwebservice/lib/action_web_service/protocol/soap_protocol.rb @@ -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! -- cgit v1.2.3