Open
Description
> (domkm.silk/decode-query "foo=Greg&bar=Linda&foo=John")
{"foo" "John", "bar" "Linda"}
Such query-strings are allowed and widely supported [1] [2]. Even ring has some (admittedly dodgy) support for this, where it would return a vector, when there are multiple values to a query key.
[1] https://developer.mozilla.org/en/docs/Web/API/URLSearchParams/getAll
[2] https://google.github.io/closure-library/api/goog.Uri.QueryData.html#getValues
Metadata
Metadata
Assignees
Labels
No labels