all repos — litestore @ a9756c90478a3531559f4b466f0c30fd34e8998a

A minimalist nosql document store.

Allow space in document names
kaminski kaminski@naew.nato.int
Thu, 25 Mar 2021 21:27:39 +0100
commit

a9756c90478a3531559f4b466f0c30fd34e8998a

parent

68d46396460fb861bc3ef3d9fabff76c2d705fe6

1 files changed, 2 insertions(+), 2 deletions(-)

jump to
M src/litestorepkg/lib/server.nimsrc/litestorepkg/lib/server.nim

@@ -248,12 +248,12 @@ return result

req.route PEG_DEFAULT_URL: info.version = "v7" info.resource = matches[0] - info.id = matches[1] + info.id = matches[1].decodeUrl return req.processApiUrl(LS, info) req.route PEG_URL: info.version = matches[0] info.resource = matches[1] - info.id = matches[2] + info.id = matches[2].decodeUrl return req.processApiUrl(LS, info) raise newException(EInvalidRequest, req.getReqInfo()) except EInvalidRequest: