mirror of
https://github.com/curl/curl.git
synced 2026-07-15 22:37:16 +03:00
parent
a60294cf43
commit
6201f5c699
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue