Fixes #8297. Makes sure response headers with empty values are handled properly and do not prevent proper parsing of the entire response headers string. Unit test amended.
This commit is contained in:
parent
faa6fe32f7
commit
5b38439011
3 changed files with 13 additions and 5 deletions
|
@ -1,6 +1,8 @@
|
|||
<?php
|
||||
|
||||
header( "Sample-Header: Hello World" );
|
||||
header( "Empty-Header: " );
|
||||
header( "Sample-Header2: Hello World 2" );
|
||||
|
||||
$headers = array();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue