Skip to content

Allow URI-encoded read-parameters

Compare
Choose a tag to compare
@skrhlm skrhlm released this 16 Jun 13:34
· 35 commits to master since this release
1808be6

Problem
URI-encoded strings and files are right now not parsed correctly in the router, resulting in a 404 when a value like this is used in the read/-view.

example:
/messages/hello%20there
/images/hello.jpg

In the above cases the router would interpret only the first part and query for hello.

Solution:
Add % and . to the router param-regex