--path-as-is
doesn't work when authentication is required
#8974
Labels
--path-as-is
doesn't work when authentication is required
#8974
I did this
Used the
--path-as-is
flag with--anyauth
--user
.I expected the following
Both the initial unauthorized request and the retried authorized request would use the same URL.
curl/libcurl version
Steps to reproduce
Save the following as
auth-server.py
:Run the dummy auth server with
python3 auth-server.py
.Run the following command:
curl -v --path-as-is --anyauth --user dummy:pass 'http://localhost:8080/../../anything'
Note that the initial request used the desired path:
But that the authorized request doesn't:
The text was updated successfully, but these errors were encountered: