Skip to content

Conversation

andrew-grechkin
Copy link

@andrew-grechkin andrew-grechkin commented Dec 6, 2024

Browser encodes all non-ASCII characters in URL into percent encoding format.

Static files are served from the filesystem, and can have unsafe characters in their names.

To support such files the request path should be decoded.


📚 Documentation preview 📚: https://datasette--2450.org.readthedocs.build/en/2450/

Browser encodes all non-ASCII characters in URL into percent encoding format.

Static files are served from the filesystem, and can have unsafe characters
in their names.

To support such files the request `path` should be decoded.
@brandonrobertz
Copy link
Contributor

It would be really nice to get this merged. This is an incredibly annoying bug. Every time I have to do a fork and patch the static handler, or rename every single file and deal with the duplication problems it causes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants