Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Properly decode URL parameters when passed as path segments or query …
…params (#114) Fixes #105 `getRequestPath` seems to parse things wrongly with `1+%2B+1+%3D+2` becoming `1+++1+=+2`, losing the distinction between spaces ` ` and plus `+`. Swapped in `getRequestURI` which gives us the raw string and handled the parsing myself to work around that. Updated the `variableRoutes` and `queryParams` unit tests to make sure they properly provide decoded values to the application code
- Loading branch information