diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2010-09-29 15:37:38 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2010-09-29 15:37:38 -0700 |
commit | 2437356cdacf2b774147b4da38de1d137e0a8b26 (patch) | |
tree | df2700c6ee8f0f14a9aba948948ed86074327c89 /actionpack | |
parent | e8c9cac1c3c3e04481418e6dbe5b0eb479c70dae (diff) | |
download | rails-2437356cdacf2b774147b4da38de1d137e0a8b26.tar.gz rails-2437356cdacf2b774147b4da38de1d137e0a8b26.tar.bz2 rails-2437356cdacf2b774147b4da38de1d137e0a8b26.zip |
removing lollerject
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/lib/action_controller/metal/http_authentication.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/metal/http_authentication.rb b/actionpack/lib/action_controller/metal/http_authentication.rb index 6a7e170306..53444f31a8 100644 --- a/actionpack/lib/action_controller/metal/http_authentication.rb +++ b/actionpack/lib/action_controller/metal/http_authentication.rb @@ -214,7 +214,7 @@ module ActionController def encode_credentials(http_method, credentials, password, password_is_ha1) credentials[:response] = expected_response(http_method, credentials[:uri], credentials, password, password_is_ha1) - "Digest " + credentials.sort_by {|x| x[0].to_s }.inject([]) {|a, v| a << "#{v[0]}='#{v[1]}'" }.join(', ') + "Digest " + credentials.sort_by {|x| x[0].to_s }.map {|v| "#{v[0]}='#{v[1]}'" }.join(', ') end def decode_credentials_header(request) |