couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rnew...@apache.org
Subject chttpd commit: updated refs/heads/master to 00d305e
Date Wed, 07 Sep 2016 12:08:38 GMT
Repository: couchdb-chttpd
Updated Branches:
  refs/heads/master 457bc2db7 -> 00d305e7c


Etag's require quotes (COUCHDB-3134)


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

Branch: refs/heads/master
Commit: 00d305e7cba75f271a5fb6c807d918b4cb390b38
Parents: 457bc2d
Author: Robert Newson <rnewson@apache.org>
Authored: Wed Sep 7 13:08:29 2016 +0100
Committer: Robert Newson <rnewson@apache.org>
Committed: Wed Sep 7 13:08:29 2016 +0100

----------------------------------------------------------------------
 src/chttpd_show.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/blob/00d305e7/src/chttpd_show.erl
----------------------------------------------------------------------
diff --git a/src/chttpd_show.erl b/src/chttpd_show.erl
index 787df16..1dbecf5 100644
--- a/src/chttpd_show.erl
+++ b/src/chttpd_show.erl
@@ -200,7 +200,7 @@ handle_view_list(Req, Db, DDoc, LName, {ViewDesignName, ViewName}, Keys)
->
     couch_util:get_nested_json_value(DDoc#doc.body, [<<"lists">>, LName]),
     {ok, VDoc} = ddoc_cache:open(Db#db.name, <<"_design/", ViewDesignName/binary>>),
     CB = fun couch_mrview_show:list_cb/2,
-    Etag = couch_uuids:new(),
+    Etag = [$", couch_uuids:new(), $"],
     QueryArgs = couch_mrview_http:parse_params(Req, Keys),
     Options = [{user_ctx, Req#httpd.user_ctx}],
     chttpd:etag_respond(Req, Etag, fun() ->


Mime
View raw message