-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
A query string is not given back as a plain string but rather urlencoded. All the special characters are still escaped, ex. Visit /people?location=London, ON in the browser, and the ' ' is escaped to '%20', Then when accessing it with req.query['location'] you get 'London,%20ON' when you really want 'London, ON'.
The string needs to be url decoded before going into the query dict.
As a sidenote, please consider making req.query and object instead of a dict, sort of the same way req.body should be.
Metadata
Metadata
Assignees
Labels
No labels