- http_parse_headers has become more strict
authorMichael Wallner <mike@php.net>
Wed, 5 Apr 2006 16:35:26 +0000 (16:35 +0000)
committerMichael Wallner <mike@php.net>
Wed, 5 Apr 2006 16:35:26 +0000 (16:35 +0000)
tests/parse_headers_001.phpt

index 1e095f2dd1d933959f24fd67e47162766c842b5e..9da8c815277a80999c62e79f9b8620e5e1c5460e 100644 (file)
@@ -14,11 +14,9 @@ print_r(http_parse_headers(
 "Muchspace:  there   \r\n".
 "Empty:\r\n".
 "Empty2: \r\n".
-": invalid\r\n".
-" : bogus\r\n".
 "Folded: one\r\n".
 "\ttwo\r\n".
-"  three\r\n".
+"  three\r\n\r\n".
 "stop\r\n"
 ));
 ?>