Commit a68d5d2d authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

mshtml: Fixed comparing names in find_http_header.

parent 645ffcbd
......@@ -363,7 +363,7 @@ static http_header_t *find_http_header(struct list *headers, const WCHAR *name,
http_header_t *iter;
LIST_FOR_EACH_ENTRY(iter, headers, http_header_t, entry) {
if(!strcmpiW(iter->header, name))
if(!strncmpiW(iter->header, name, len) && !iter->header[len])
return iter;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment