Repository: couchdb-chttpd
Updated Branches:
  refs/heads/master 43e1d0d81 -> c7d0bafac


Don't try to decode params in multi_query_view


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

Branch: refs/heads/master
Commit: 685f9ca7b1a37d5bcf5ea71cfc099e6110be9f96
Parents: 43e1d0d
Author: Eric Avdey <e...@eiri.ca>
Authored: Mon Jun 13 13:53:55 2016 -0300
Committer: Eric Avdey <e...@eiri.ca>
Committed: Mon Jun 13 13:53:55 2016 -0300

----------------------------------------------------------------------
 src/chttpd_view.erl | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/blob/685f9ca7/src/chttpd_view.erl
----------------------------------------------------------------------
diff --git a/src/chttpd_view.erl b/src/chttpd_view.erl
index c1c72e8..4889b65 100644
--- a/src/chttpd_view.erl
+++ b/src/chttpd_view.erl
@@ -21,7 +21,8 @@ multi_query_view(Req, Db, DDoc, ViewName, Queries) ->
     {ok, #mrst{views=Views}} = couch_mrview_util:ddoc_to_mrst(Db, DDoc),
     Args1 = couch_mrview_util:set_view_type(Args0, ViewName, Views),
     ArgQueries = lists:map(fun({Query}) ->
-        QueryArg = couch_mrview_http:parse_params(Query, undefined, Args1),
+        QueryArg = couch_mrview_http:parse_params(Query, undefined,
+            Args1, [decoded]),
         couch_mrview_util:validate_args(QueryArg)
     end, Queries),
     VAcc0 = #vacc{db=Db, req=Req, prepend="\r\n"},

Reply via email to