all repos — litestore @ fb92a90d8e4bbf77300bd7a370fac69e0fefcbe9

A minimalist nosql document store.

High-level API: fixed URL encoding in params.
h3rald h3rald@h3rald.com
Sat, 01 Sep 2018 17:32:42 +0200
commit

fb92a90d8e4bbf77300bd7a370fac69e0fefcbe9

parent

6ccd51fbb9a7e443ddfcf80d8973b7937f9a9bbf

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

jump to
M litestore.nimlitestore.nim

@@ -129,7 +129,7 @@

proc query*(table: StringTableRef): string = var params = newSeq[string](0) for key, value in pairs(table): - params.add("$1=$2" % @[key, value.encodeUrl]) + params.add("$1=$2" % @[key, value]) return params.join("&") proc newLSRequest(meth: HttpMethod, resource, id, body = "", params = newStringTable(), headers = newHttpHeaders()): LSRequest =