From a60294cf4319e8dd0cbb9b3bba178451d4de37d2 Mon Sep 17 00:00:00 2001 From: Harry Sintonen Date: Mon, 3 May 2021 00:06:41 +0300 Subject: [PATCH] Curl_http_header: check for colon when matching Persistent-Auth Closes #6993 --- lib/http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/http.c b/lib/http.c index 1f5ca37b2d..b42d37efa5 100644 --- a/lib/http.c +++ b/lib/http.c @@ -3581,7 +3581,7 @@ CURLcode Curl_http_header(struct Curl_easy *data, struct connectdata *conn, return result; } #ifdef USE_SPNEGO - else if(checkprefix("Persistent-Auth", headp)) { + else if(checkprefix("Persistent-Auth:", headp)) { struct negotiatedata *negdata = &conn->negotiate; struct auth *authp = &data->state.authhost; if(authp->picked == CURLAUTH_NEGOTIATE) {