diff options
author | Harry Sintonen <sintonen@iki.fi> | 2021-05-03 00:06:41 +0300 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2021-05-03 16:35:22 +0200 |
commit | a60294cf4319e8dd0cbb9b3bba178451d4de37d2 (patch) | |
tree | e52d2d2b9d6dff8bdc8d168a177ccba121dbad28 /lib/http.c | |
parent | b75620b9a05c0f0d03bd86e136ea5c8b8f1fecf2 (diff) | |
download | curl-a60294cf4319e8dd0cbb9b3bba178451d4de37d2.tar.gz |
Curl_http_header: check for colon when matching Persistent-Auth
Closes #6993
Diffstat (limited to 'lib/http.c')
-rw-r--r-- | lib/http.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/http.c b/lib/http.c index 1f5ca37b2..b42d37efa 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) { |