diff options
author | Leon Breedt <bitserf@gmail.com> | 2005-03-15 21:07:48 +0000 |
---|---|---|
committer | Leon Breedt <bitserf@gmail.com> | 2005-03-15 21:07:48 +0000 |
commit | 9776bfc8a0e110dce751d0e78305432a155b93cd (patch) | |
tree | 3e08dca7eb33127277b814b9231c7cf4651203b6 /actionwebservice/lib | |
parent | 9015ce4cc243d4022e294b9062afe53d46910b06 (diff) | |
download | rails-9776bfc8a0e110dce751d0e78305432a155b93cd.tar.gz rails-9776bfc8a0e110dce751d0e78305432a155b93cd.tar.bz2 rails-9776bfc8a0e110dce751d0e78305432a155b93cd.zip |
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
Diffstat (limited to 'actionwebservice/lib')
-rw-r--r-- | actionwebservice/lib/action_web_service/protocol/soap_protocol.rb | 1 |
1 files changed, 1 insertions, 0 deletions
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! |