I did this
curl -v 'http://user1:password#@host.com/path'
I expected the following
The request should have made a request with
protocol: 'https'
username: 'user1'
password: 'password#'
hostname: 'host.com'
path: '/path'
curl/libcurl version
7.51.0
This has worked for a very long time but due to fix in 3bb273d this no longer works and instead of trying to connect to host.com it tries to resolve and connect to user1.
I
56B9
believe this is correct and that the desired behaviour for a password containing a # can be restored by encoding it as %23, so just raising for confirmation and so that it can be found by others tripping over the change.