mirror of
https://gitea.invidious.io/iv-org/shard-radix.git
synced 2024-08-15 00:43:21 +00:00
fe1ebb7d76
Given a key `/:foo/:bar`, the find mechanism was incorrectly picking the separator character as part of the key name (`foo/`). This caused incorrect match between expected name (`foo`) and the one obtained. When the key name was extracted from the named parameter, the size of the returned key was not compensated, given that we move +1 positions to avoid having ':' as part of the key. This is now corrected by reducing the key size one shorter to compensate. Fixes Issue #2 |
||
---|---|---|
.. | ||
radix | ||
spec_helper.cr |