mirror of
https://github.com/moparisthebest/curl
synced 2025-03-03 02:41:59 -05: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;
|
return result;
|
||||||
}
|
}
|
||||||
#ifdef USE_SPNEGO
|
#ifdef USE_SPNEGO
|
||||||
else if(checkprefix("Persistent-Auth", headp)) {
|
else if(checkprefix("Persistent-Auth:", headp)) {
|
||||||
struct negotiatedata *negdata = &conn->negotiate;
|
struct negotiatedata *negdata = &conn->negotiate;
|
||||||
struct auth *authp = &data->state.authhost;
|
struct auth *authp = &data->state.authhost;
|
||||||
if(authp->picked == CURLAUTH_NEGOTIATE) {
|
if(authp->picked == CURLAUTH_NEGOTIATE) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user