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