summaryrefslogtreecommitdiff
path: root/src/couchdb/couch_httpd_show.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_show.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_show.erl')
-rw-r--r--src/couchdb/couch_httpd_show.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/couchdb/couch_httpd_show.erl b/src/couchdb/couch_httpd_show.erl
index ef5d41d1..9b65c076 100644
--- a/src/couchdb/couch_httpd_show.erl
+++ b/src/couchdb/couch_httpd_show.erl
@@ -94,7 +94,7 @@ send_view_list_response(Lang, ListSrc, ViewName, DesignId, Req, Db, Keys) ->
Reduce = couch_httpd_view:get_reduce_type(Req),
case couch_view:get_map_view(Db, DesignId, ViewName, Stale) of
{ok, View, Group} ->
- QueryArgs = couch_httpd_view:parse_view_params(Req, Keys, map, ignore),
+ QueryArgs = couch_httpd_view:parse_view_params(Req, Keys, map),
output_map_list(Req, Lang, ListSrc, View, Group, Db, QueryArgs, Keys);
{not_found, _Reason} ->
case couch_view:get_reduce_view(Db, DesignId, ViewName, Stale) of
@@ -102,13 +102,13 @@ send_view_list_response(Lang, ListSrc, ViewName, DesignId, Req, Db, Keys) ->
case Reduce of
false ->
QueryArgs = couch_httpd_view:parse_view_params(
- Req, Keys, map_red, ignore
+ Req, Keys, map_red
),
MapView = couch_view:extract_map_view(ReduceView),
output_map_list(Req, Lang, ListSrc, MapView, Group, Db, QueryArgs, Keys);
_ ->
QueryArgs = couch_httpd_view:parse_view_params(
- Req, Keys, reduce, ignore
+ Req, Keys, reduce
),
output_reduce_list(Req, Lang, ListSrc, ReduceView, Group, Db, QueryArgs, Keys)
end;