[ipxe-devel] Bug in HTTP header parsing

Michael Brown mcb30 at ipxe.org
Thu Jun 9 11:29:15 UTC 2016


On 07/06/16 12:22, Raphael Cohn wrote:
> Line 1204 of httpcore.c
> (https://git.ipxe.org/ipxe.git/blob/master:/src/net/tcp/httpcore.c#l1204) incorrectly
> assumes that HTTP headers are separated by ': '. This is not the case.
> Headers are separated by whitespace* : whitespace*. This breaks on HTTP
> servers using minified HTTP output.

Good catch.  Should be fixed in

   http://git.ipxe.org/ipxe.git/commitdiff/b42e719

Thanks,

Michael



More information about the ipxe-devel mailing list