Please check if your PR fulfills the following requirements:
[x] Tests for the changes have been added (for bug fixes / features)
PR Type
What kind of change does this PR introduce?
[x] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] infrastructure changes
[ ] Other... Please describe:
What is the current behavior?
Create a file or directory within your routes containing characters that browsers encode, for example src/routes/漢字.tsx
Browse /漢字
Not found
Need to rename the file to %25E6%25BC%25A2%25E5%25AD%2597.tsx. This isn't documented anywhere and shouldn't be necessary. File and directory names like this are too unwieldy to use.
(fixes the same thing as https://github.com/solidjs/solid-start/pull/1241 from the router end if this is preferred)
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
Need to rename the file to %25E6%25BC%25A2%25E5%25AD%2597.tsx. This isn't documented anywhere and shouldn't be necessary. File and directory names like this are too unwieldy to use.
What is the new behavior?