From 2ba9419cc659bf4cb633f66a76f9789fb7a526fe Mon Sep 17 00:00:00 2001 From: Robert Newson Date: Thu, 5 May 2011 18:11:40 +0100 Subject: Allow : in passwords (COUCHDB-969) --- apps/couch/src/couch_httpd_auth.erl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps') diff --git a/apps/couch/src/couch_httpd_auth.erl b/apps/couch/src/couch_httpd_auth.erl index 7023e7f3..752fbef1 100644 --- a/apps/couch/src/couch_httpd_auth.erl +++ b/apps/couch/src/couch_httpd_auth.erl @@ -53,8 +53,8 @@ basic_name_pw(Req) -> nil; [User, Pass] -> {User, Pass}; - [User] -> - {User, ""}; + [User | Pass] -> + {User, string:join(Pass, ":")}; _ -> nil end; -- cgit v1.2.3