mirror of
https://github.com/curl/curl.git
synced 2025-01-30 14:22:33 +08:00
Curl_http_header: check for colon when matching Persistent-Auth
Closes #6993
This commit is contained in:
parent
b75620b9a0
commit
a60294cf43
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user