summaryrefslogtreecommitdiff
path: root/apps/couch/src/couch_rep_changes_feed.erl
diff options
context:
space:
mode:
authorBob Dionne <bob@cloudant.com>2011-10-17 16:31:53 -0400
committerBob Dionne <bob@cloudant.com>2011-10-17 16:31:53 -0400
commit9c1d6798e56d95a9ec6ad36c7baf7c3d23ce5eff (patch)
tree7d630d21c86d7fbfe3548dbd6ce328d89b9b390b /apps/couch/src/couch_rep_changes_feed.erl
parentcf630a2e87ac1b6eace26601dc5b7ffdb39273b2 (diff)
Fix seq problem in full_uri by encoding
BugzID:12741
Diffstat (limited to 'apps/couch/src/couch_rep_changes_feed.erl')
-rw-r--r--apps/couch/src/couch_rep_changes_feed.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/couch/src/couch_rep_changes_feed.erl b/apps/couch/src/couch_rep_changes_feed.erl
index 7a9573d6..70db52a0 100644
--- a/apps/couch/src/couch_rep_changes_feed.erl
+++ b/apps/couch/src/couch_rep_changes_feed.erl
@@ -64,7 +64,7 @@ init([Parent, #http_db{headers = Headers0} = Source, Since, PostProps]) ->
BaseQS = [
{"style", all_docs},
{"heartbeat", 10000},
- {"since", Since},
+ {"since", iolist_to_binary(?JSON_ENCODE(Since))},
{"feed", Feed}
],
{QS, Method, Body, Headers} = case get_value(<<"doc_ids">>, PostProps) of