summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Smith (work) <jhs@iriscouch.com>2012-09-04 06:35:52 +0000
committerJason Smith (air) <jhs@iriscouch.com>2012-09-14 09:02:04 +0700
commit835b57b196d423ae5132a559e727031521da8ce9 (patch)
tree709be4892b5444290b0f2ca7833c90aa423357fe
parent53490d915038c04ed47f0c8a00b771583c483b0e (diff)
downloadcouchdb-COUCHDB-1534.tar.gz
Disable checking for string query_params valuesCOUCHDB-1534
-rw-r--r--src/couchdb/couch_httpd_replicator.erl6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/couchdb/couch_httpd_replicator.erl b/src/couchdb/couch_httpd_replicator.erl
index fb1e3505d..47de4765e 100644
--- a/src/couchdb/couch_httpd_replicator.erl
+++ b/src/couchdb/couch_httpd_replicator.erl
@@ -58,8 +58,10 @@ validate_rep_props([]) ->
validate_rep_props([{<<"query_params">>, {Params}}|Rest]) ->
lists:foreach(fun
({_,V}) when is_binary(V) -> ok;
- ({K,_}) -> throw({bad_request,
- <<K/binary," value must be a string.">>})
+ % Disabled to support the iris-monitor replicator
+ %({K,_}) -> throw({bad_request,
+ % <<K/binary," value must be a string.">>})
+ ({K,_}) -> ok
end, Params),
validate_rep_props(Rest);
validate_rep_props([_|Rest]) ->