Missing key validation in KV
mtmk opened this issue · 0 comments
mtmk commented
Observed behavior
Keys are not validated e.g.:
nats.net.v2/src/NATS.Client.KeyValueStore/NatsKVStore.cs
Lines 58 to 63 in 44a2191
Expected behavior
They should be validated based on design document https://github.com/nats-io/nats-architecture-and-design/blob/main/adr/ADR-8.md#10
Server and client version
2.10.x / 2.2.0
Breaking change
If validation is introduce this will break applications PUT requests with invalid entries