lagon
lagon copied to clipboard
Non-ASCII characters in static files
Describe the bug The static file handler can't handle non-ASCII characters in file names.
To Reproduce
- Create a file named
public/🙂🙂🙂.txt
with the contentHello world
- Run the dev server
- Visit the URL
/%F0%9F%99%82%F0%9F%99%82%F0%9F%99%82.txt
(i.e./🙂🙂🙂.txt
) - Notice the 404 error
Expected behavior
The text Hello world
should be shown.
Information:
- OS: Fails on Linux, Windows, and MacOS.
- Browser: Fails on Chrome, Safari, Firefox.
- Version: 0.7.8