summaryrefslogtreecommitdiff
path: root/src/couchdb/couch_httpd_db.erl
diff options
context:
space:
mode:
authorPaul Joseph Davis <davisp@apache.org>2009-06-18 23:43:40 +0000
committerPaul Joseph Davis <davisp@apache.org>2009-06-18 23:43:40 +0000
commita86aa967f17c32881e37955975652522b5bda1da (patch)
tree5eb1ab40a73d7f2760fd1e3c81ba73b304a6b28a /src/couchdb/couch_httpd_db.erl
parent33b7dfe1eb1914aa1f192e05b44892c6e9ffc537 (diff)
Fixes COUCHDB-383 - Ignore extra URL parameters.
No one opposed the switch so here it is. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@786337 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/couchdb/couch_httpd_db.erl')
-rw-r--r--src/couchdb/couch_httpd_db.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/couchdb/couch_httpd_db.erl b/src/couchdb/couch_httpd_db.erl
index 65f40472..d1d90c63 100644
--- a/src/couchdb/couch_httpd_db.erl
+++ b/src/couchdb/couch_httpd_db.erl
@@ -337,7 +337,7 @@ db_req(#httpd{method='GET',path_parts=[_,<<"_all_docs_by_seq">>]}=Req, Db) ->
limit = Limit,
skip = SkipCount,
direction = Dir
- } = QueryArgs = couch_httpd_view:parse_view_params(Req, nil, map, strict),
+ } = QueryArgs = couch_httpd_view:parse_view_params(Req, nil, map),
{ok, Info} = couch_db:get_db_info(Db),
CurrentEtag = couch_httpd:make_etag(proplists:get_value(update_seq, Info)),
@@ -453,7 +453,7 @@ all_docs_view(Req, Db, Keys) ->
limit = Limit,
skip = SkipCount,
direction = Dir
- } = QueryArgs = couch_httpd_view:parse_view_params(Req, Keys, map, strict),
+ } = QueryArgs = couch_httpd_view:parse_view_params(Req, Keys, map),
{ok, Info} = couch_db:get_db_info(Db),
CurrentEtag = couch_httpd:make_etag(proplists:get_value(update_seq, Info)),
couch_httpd:etag_respond(Req, CurrentEtag, fun() ->