couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject [12/13] git commit: Requests for /_nodejs are allowed without checking the local auth system
Date Wed, 13 Feb 2013 13:17:14 GMT
Requests for /_nodejs are allowed without checking the local auth system


Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/7b7dedb2
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/7b7dedb2
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/7b7dedb2

Branch: refs/heads/nodejs_couchdb
Commit: 7b7dedb2786a1db5f322da00a578fb74c677c3e9
Parents: 2757275
Author: Jason Smith (work) <jhs@iriscouch.com>
Authored: Wed Feb 13 06:27:38 2013 +0000
Committer: Jason Smith (work) <jhs@iriscouch.com>
Committed: Wed Feb 13 06:27:38 2013 +0000

----------------------------------------------------------------------
 src/couchdb/couch_httpd_auth.erl |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/7b7dedb2/src/couchdb/couch_httpd_auth.erl
----------------------------------------------------------------------
diff --git a/src/couchdb/couch_httpd_auth.erl b/src/couchdb/couch_httpd_auth.erl
index 9c9797f..7c76970 100644
--- a/src/couchdb/couch_httpd_auth.erl
+++ b/src/couchdb/couch_httpd_auth.erl
@@ -62,6 +62,9 @@ basic_name_pw(Req) ->
         nil
     end.
 
+default_authentication_handler(#httpd{path_parts=[<<"_nodejs">> | _Rest]}=Req)
->
+    Req;
+
 default_authentication_handler(Req) ->
     case basic_name_pw(Req) of
     {User, Pass} ->


Mime
View raw message