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

Does not handle files with ? or other special characters in name #2

Closed
robinst opened this issue May 30, 2017 · 2 comments
Closed

Does not handle files with ? or other special characters in name #2

robinst opened this issue May 30, 2017 · 2 comments

Comments

@robinst
Copy link

robinst commented May 30, 2017

  1. Create a file named "url?encoding&test%test" in a directory
  2. Start simple-http-server
  3. Click on the file

Expected: It shows the file
Actual: 404, because the link was "http://localhost:8008/url?encoding&test%test" instead of being URL-encoded.

Looks like it's not URL-encoding file names. This is with 0.3.4 that I installed just now via cargo install.

@TheWaWaR
Copy link
Owner

Thanks, seems fixed now.

You may update by: cargo install --force simple-http-server

@robinst
Copy link
Author

robinst commented May 30, 2017

Works now, thanks!

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

2 participants