mirror of
https://github.com/php/php-src.git
synced 2024-09-23 02:47:26 +00:00
0e097f2c96
The sizeof()s for Content-Length and Transfer-Encoding were missing the trailing ":". Apart from being generally wrong, this no longer verified that the header actually contains a colon, leading to the null http_header_value being used. Additionally, in the interest of being defensive, also make sure that http_header_value is non-null by setting it to the end of the header line (effectively an empty string) if there is no colon. If the following conditions are correct, this value is not going to be used though. |
||
---|---|---|
.. | ||
bug38802.phpt | ||
bug43510.phpt | ||
bug47021.phpt | ||
bug48929.phpt | ||
bug53198.phpt | ||
bug60570.phpt | ||
bug61548.phpt | ||
bug65634.phpt | ||
bug67430.phpt | ||
bug69337.phpt | ||
bug73297.phpt | ||
bug75535.phpt | ||
http_response_header_04.phpt | ||
http_response_header_05.phpt | ||
ignore_errors.phpt | ||
server.inc |