From 52508a3442131a7af6fd32e95fffd5cb3ae7bffe Mon Sep 17 00:00:00 2001 From: Robert Newson Date: Fri, 28 Jan 2011 20:16:21 +0000 Subject: COUCHDB-969 - handle passwords with : in them. git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1064856 13f79535-47bb-0310-9956-ffa450edef68 --- src/couchdb/couch_httpd_auth.erl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/couchdb/couch_httpd_auth.erl b/src/couchdb/couch_httpd_auth.erl index a370ebdf..2111c009 100644 --- a/src/couchdb/couch_httpd_auth.erl +++ b/src/couchdb/couch_httpd_auth.erl @@ -53,6 +53,8 @@ basic_name_pw(Req) -> nil; [User, Pass] -> {User, Pass}; + [User | Pass] -> + {User, string:join(Pass, ":")}; [User] -> {User, ""}; _ -> -- cgit v1.2.3