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

URLs with spaces fail because spaces are sent to the server unencoded #160

Open
dreamlayers opened this issue Dec 7, 2024 · 0 comments
Open

Comments

@dreamlayers
Copy link

I tried to play an MP3 file on an http server via the web interface. The filename contained spaces. That failed because the space was sent as-is to the server, and that is not allowed. The result was a "400 Bad Request" error. Then I tried doing the URL encoding myself, replacing spaces with %20. That still failed. The %20 got decoded into a space somewhere, and that space was sent to the server.

Finally, I URL encoded the %20, replacing spaces with %25%32%30. That worked, sending %20 for spaces in the filename. The file played back successfuly.

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

No branches or pull requests

1 participant