mirror of https://git.kore.io/kore.git
Force lowercase on internal HTTP header names.
This commit is contained in:
parent
46af5aa11b
commit
7a6753ca33
|
@ -1798,6 +1798,9 @@ http_validate_header(char *header)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (*p >= 'A' && *p <= 'Z')
|
||||||
|
*p += 32;
|
||||||
|
|
||||||
if (http_token[idx] == 0x00)
|
if (http_token[idx] == 0x00)
|
||||||
return (NULL);
|
return (NULL);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue