Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Non-ASCII characters in static files #1059

Open
cyco130 opened this issue Aug 14, 2023 · 0 comments
Open

Non-ASCII characters in static files #1059

cyco130 opened this issue Aug 14, 2023 · 0 comments
Labels

Comments

@cyco130
Copy link
Contributor

cyco130 commented Aug 14, 2023

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 content Hello 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
@cyco130 cyco130 added the bug label Aug 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant