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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: support static files with spaces in their names #2450

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

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.
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.

1 participant