URL parser: userinfo breaks the protocol guessing when no scheme is given #4856
I did this
I expected the following
That curl would try to use FTP to the site and use the given name and password for login. Instead it made a HTTP request to the given host.
The reason for this mistake is that the "protocol guessing" is done on the host name part when the credentials are still prepended! This does also make something like
I have extended test 1560 with these two examples and will work on a PR.