summary refs log tree commit
diff options
context:
space:
mode:
authorKrzysztof Rybka <krzysztof.rybka@gmail.com>2019-06-05 15:19:50 +0200
committerKrzysztof Rybka <krzysztof.rybka@gmail.com>2019-06-05 15:24:41 +0200
commitbd3f05411eef72d9acf174132e7a8bc232b313e5 (patch)
tree249d8926c88013e742c3eb51f4ac9de216472f27
parent0293f3e011aaf878bfed48c3cf715e8d78f4f6c6 (diff)
downloadrack-bd3f05411eef72d9acf174132e7a8bc232b313e5.tar.gz
Interpolate A2 args
-rw-r--r--lib/rack/auth/digest/md5.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rack/auth/digest/md5.rb b/lib/rack/auth/digest/md5.rb
index 118121e4..47675b51 100644
--- a/lib/rack/auth/digest/md5.rb
+++ b/lib/rack/auth/digest/md5.rb
@@ -116,7 +116,7 @@ module Rack
         end
 
         def A2(auth)
-          [ auth.method, auth.uri ] * ':'
+          "#{auth.method}:#{auth.uri}"
         end
 
         def digest(auth, password)