mirror of
https://github.com/git/git.git
synced 2026-01-26 18:44:50 +00:00
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 <johannes.schindelin@gmx.de>
This commit is contained in:
2
http.c
2
http.c
@@ -109,7 +109,7 @@ static int curl_save_cookies;
|
||||
struct credential http_auth = CREDENTIAL_INIT;
|
||||
static int http_proactive_auth;
|
||||
static const char *user_agent;
|
||||
static int curl_empty_auth;
|
||||
static int curl_empty_auth = 1;
|
||||
|
||||
#if LIBCURL_VERSION_NUM >= 0x071700
|
||||
/* Use CURLOPT_KEYPASSWD as is */
|
||||
|
||||
Reference in New Issue
Block a user