couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chewbra...@apache.org
Subject [3/6] chttpd commit: updated refs/heads/add-manual-migration-logic to df0da70
Date Tue, 21 Jul 2015 20:50:37 GMT
Validate host header

See enabling commit in couchdb-couch

COUCHDB-2752


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

Branch: refs/heads/add-manual-migration-logic
Commit: 3b80c7fdda0d365283cef8d47dc5f453ed8b7042
Parents: 6697f3f
Author: Robert Newson <rnewson@apache.org>
Authored: Fri Jul 17 18:15:31 2015 +0100
Committer: Robert Newson <rnewson@apache.org>
Committed: Fri Jul 17 18:15:31 2015 +0100

----------------------------------------------------------------------
 src/chttpd.erl | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/blob/3b80c7fd/src/chttpd.erl
----------------------------------------------------------------------
diff --git a/src/chttpd.erl b/src/chttpd.erl
index f6ce530..fe8dfea 100644
--- a/src/chttpd.erl
+++ b/src/chttpd.erl
@@ -203,6 +203,7 @@ handle_request(MochiReq0) ->
 
     Result =
     try
+        couch_httpd:validate_host(HttpReq),
         check_request_uri_length(RawUri),
         case chttpd_cors:maybe_handle_preflight_request(HttpReq) of
         not_preflight ->


Mime
View raw message