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

Error when folder ends with a colon #1450

Open
hellodword opened this issue Aug 17, 2024 · 0 comments
Open

Error when folder ends with a colon #1450

hellodword opened this issue Aug 17, 2024 · 0 comments

Comments

@hellodword
Copy link

Version: miniserve 0.27.1

Steps to reproduce:

cd `mktemp -d`

mkdir http:

touch http\:/foo.txt

docker run --rm -it -v `pwd`:/tmp -p 8080:8080 svenstaro/miniserve /tmp

Try to visit http://127.0.0.1:8080/http:/ , will get the segment ended with invalid character error.

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