From a86aa967f17c32881e37955975652522b5bda1da Mon Sep 17 00:00:00 2001 From: Paul Joseph Davis Date: Thu, 18 Jun 2009 23:43:40 +0000 Subject: 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 --- src/couchdb/couch_httpd_show.erl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/couchdb/couch_httpd_show.erl') 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; -- cgit v1.2.3