Skip to content

Commit 99f14cd

Browse files
author
Git for Windows Build Agent
committed
Merge branch 'http-empty-auth'
This topic branch fixes a rather serious regression with NTLM authentication: when using "empty credentials", i.e. when inserting ":@" into a URL (e.g. https://:@me.visualstudio.com/), we used to ask cURL to use the login credentials. But a recent change broke that. Which this branch fixes again. Signed-off-by: Johannes Schindelin <[email protected]>
2 parents ae2f32d + f6fa702 commit 99f14cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

http.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ static int curl_save_cookies;
109109
struct credential http_auth = CREDENTIAL_INIT;
110110
static int http_proactive_auth;
111111
static const char *user_agent;
112-
static int curl_empty_auth;
112+
static int curl_empty_auth = 1;
113113

114114
enum http_follow_config http_follow_config = HTTP_FOLLOW_INITIAL;
115115

0 commit comments

Comments
 (0)