mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-09 14:34:43 +00:00
Use a different separator in Wid
`#` is a reserved character in the URL spec and must be escaped to be used. This change uses `-` instead. Fixes: elastic/elasticsearch#467 Original commit: elastic/x-pack-elasticsearch@a75eb89cb8
This commit is contained in:
parent
a59e157ca3
commit
f14fe49dfa
@ -23,7 +23,7 @@ public class Wid {
|
||||
|
||||
public Wid(String watchId, long nonce, DateTime executionTime) {
|
||||
this.watchId = watchId;
|
||||
this.value = watchId + "_" + String.valueOf(nonce) + "#" + formatter.print(executionTime);
|
||||
this.value = watchId + "_" + String.valueOf(nonce) + "-" + formatter.print(executionTime);
|
||||
}
|
||||
|
||||
public Wid(String value) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user