Dyalog / Jarvis

APL-based web service framework supporting JSON or REST
https://dyalog.github.io/Jarvis/
MIT License
33 stars 6 forks source link

Should URLDecode come after splitting the query parameters? #20

Closed arcfide closed 3 years ago

arcfide commented 3 years ago

It seems in the following line, that the URL is decoded after splitting on '?' but before splitting on & and = in the query string. This would seem to be incorrect, as this would treat encoded & and = values as query separators, which they are not.

https://github.com/Dyalog/Jarvis/blob/048bf3b4cdccd088e374e8153233b0ea5c5fedc1/Source/Jarvis.dyalog#L874

bpbecker commented 3 years ago

Fixed by f58da5fbf13898f10244ae37169ce8085c705a70