diff options
author | Robert Newson <robert.newson@cloudant.com> | 2011-05-05 18:11:40 +0100 |
---|---|---|
committer | Robert Newson <robert.newson@cloudant.com> | 2011-05-05 18:11:40 +0100 |
commit | 2ba9419cc659bf4cb633f66a76f9789fb7a526fe (patch) | |
tree | 19f1e2df9bd5de7f757179158bdadc9abdde87f3 /apps/couch/src | |
parent | feaf729734032a59cb1f83f8dddfaabcdb44e914 (diff) |
Allow : in passwords (COUCHDB-969)
Diffstat (limited to 'apps/couch/src')
-rw-r--r-- | apps/couch/src/couch_httpd_auth.erl | 4 |
1 files changed, 2 insertions, 2 deletions
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; |