Couchdb River: since changes parameter (seq) is not url encoded, closes #1470.

This commit is contained in:
Shay Banon 2011-11-15 23:40:41 +02:00
parent b5a0ae2fbe
commit 7dfe48c33b
1 changed files with 6 additions and 1 deletions

View File

@ -404,7 +404,12 @@ public class CouchdbRiver extends AbstractRiverComponent implements River {
}
if (lastSeq != null) {
file = file + "&since=" + lastSeq;
try {
file = file + "&since=" + URLEncoder.encode(lastSeq, "UTF-8");
} catch (UnsupportedEncodingException e) {
// should not happen, but in any case...
file = file + "&since=" + lastSeq;
}
}
if (logger.isDebugEnabled()) {