diff options
Diffstat (limited to 'lib/http.c')
-rw-r--r-- | lib/http.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/http.c b/lib/http.c index a7ad947e1..44ef29e8f 100644 --- a/lib/http.c +++ b/lib/http.c @@ -670,7 +670,9 @@ CURLcode Curl_http(struct connectdata *conn) if(result) return result; } - else if((conn->bits.user_passwd) && !checkheaders(data, "Authorization:")) { + else if(!data->set.httpdigest && /* not if Digest is enabled */ + conn->bits.user_passwd && + !checkheaders(data, "Authorization:")) { char *authorization; /* To prevent the user+password to get sent to other than the original |