diff options
author | Bob Dionne <bob@cloudant.com> | 2011-10-17 16:31:53 -0400 |
---|---|---|
committer | Bob Dionne <bob@cloudant.com> | 2011-10-17 16:31:53 -0400 |
commit | 9c1d6798e56d95a9ec6ad36c7baf7c3d23ce5eff (patch) | |
tree | 7d630d21c86d7fbfe3548dbd6ce328d89b9b390b /apps/couch/src/couch_rep.erl | |
parent | cf630a2e87ac1b6eace26601dc5b7ffdb39273b2 (diff) |
Fix seq problem in full_uri by encoding
BugzID:12741
Diffstat (limited to 'apps/couch/src/couch_rep.erl')
-rw-r--r-- | apps/couch/src/couch_rep.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/couch/src/couch_rep.erl b/apps/couch/src/couch_rep.erl index 46bcb282..8f2508f5 100644 --- a/apps/couch/src/couch_rep.erl +++ b/apps/couch/src/couch_rep.erl @@ -834,7 +834,7 @@ ensure_full_commit(#http_db{headers = Headers} = Source, RequiredSeq) -> Req = Source#http_db{ resource = "_ensure_full_commit", method = post, - qs = [{seq, RequiredSeq}], + qs = [{seq, iolist_to_binary(?JSON_ENCODE(RequiredSeq))}], headers = Headers1 }, {ResultProps} = couch_rep_httpc:request(Req), |