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.