You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ever since 46e1640, it appears that attempts to use a username and password as part of an HTTP URL whilst communicating via a proxy fails. libcurl does not send an Authorization header.
When a username and password are provided in the URL, they were not
correctly stored and remembered in the easy handle, only for the
connection, so when doing HTTP auth that uses multiple connections (like
Digest) curl mishaved.
Regression from 46e1640 (7.62.0)
Test case 335 added to verify.
Reported-by: Mike Crowe
Fixes#4228
When a username and password are provided in the URL, they were wrongly
removed from the stored URL so that subsequent uses of the same URL
wouldn't find the crendentials. This made doing HTTP auth with multiple
connections (like Digest) mishave.
Regression from 46e1640 (7.62.0)
Test case 335 added to verify.
Reported-by: Mike Crowe
Fixes#4228
Ever since 46e1640, it appears that attempts to use a username and password as part of an HTTP URL whilst communicating via a proxy fails. libcurl does not send an Authorization header.
Steps to reproduce:
curl --proxy http://proxy:3128/ --digest http://unittest:password@host/
Originally raised in the thread at https://curl.haxx.se/mail/lib-2019-08/0002.html
Test case added in https://github.com/mikecrowe/curl/tree/mac/authentication-in-url-with-proxy-bug
The text was updated successfully, but these errors were encountered: