Couchdb River: since changes parameter (seq) is not url encoded, closes #1470.
This commit is contained in:
parent
b5a0ae2fbe
commit
7dfe48c33b
|
@ -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()) {
|
||||
|
|
Loading…
Reference in New Issue