mirror of
https://github.com/moparisthebest/curl
synced 2025-01-09 13:08:00 -05:00
parent
a60294cf43
commit
6201f5c699
@ -56,7 +56,7 @@ CURLcode Curl_input_digest(struct Curl_easy *data,
|
|||||||
digest = &data->state.digest;
|
digest = &data->state.digest;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!checkprefix("Digest", header))
|
if(!checkprefix("Digest", header) || !ISSPACE(header[6]))
|
||||||
return CURLE_BAD_CONTENT_ENCODING;
|
return CURLE_BAD_CONTENT_ENCODING;
|
||||||
|
|
||||||
header += strlen("Digest");
|
header += strlen("Digest");
|
||||||
|
Loading…
Reference in New Issue
Block a user