Fixed query string ? problem.
h3rald h3rald@h3rald.com
Sun, 16 Aug 2020 17:55:16 +0200
1 files changed,
4 insertions(+),
1 deletions(-)
jump to
M
src/litestorepkg/lib/api_v7.nim
→
src/litestorepkg/lib/api_v7.nim
@@ -207,7 +207,10 @@ else:
discard proc parseQueryOptions*(querystring: string, options: var QueryOptions) = - var fragments = querystring.split('&') + var q = querystring + if q.startsWith("?"): + q = q[1 .. q.len - 1] + var fragments = q.split('&') for f in fragments: f.parseQueryOption(options)