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.
http://:@corporate_proxy:8080/ from jeroen/curl#237. It seems to me the reporter @OscarLane wants to be able to set ALL_PROXY with a blank user/pass so that libcurl w/SSPI will use his Windows credentials.
When the username is retrieved from the CURLU it returns CURLUE_NO_USER which is documented as "There is no user part in the URL."
I don't think anyone has thought about it. The entire "set blank user name to trigger X" is a somewhat of a kludge, so it's not always easy to tell how it should work!
I don't see any downsides to changing it. The change below fixes it but then will also do it even if the login string is empty, for example http://@test.com
I did this
http://:@corporate_proxy:8080/
from jeroen/curl#237. It seems to me the reporter @OscarLane wants to be able to set ALL_PROXY with a blank user/pass so that libcurl w/SSPI will use his Windows credentials.When the username is retrieved from the CURLU it returns CURLUE_NO_USER which is documented as "There is no user part in the URL."
curl/lib/url.c
Lines 2502 to 2513 in 45ac4d0
I expected the following
I'm not sure on this one. Is this expected?
curl/libcurl version
/cc @jeroen
The text was updated successfully, but these errors were encountered: