Cherry-pick 4cc74767
authorGustavo André dos Santos Lopes <cataphract@php.net>
Wed, 4 Apr 2012 08:59:51 +0000 (09:59 +0100)
committerGustavo André dos Santos Lopes <cataphract@php.net>
Wed, 4 Apr 2012 08:59:51 +0000 (09:59 +0100)
commitca58cd01fc329f907a13b82370427715d9c5bf70
tree3c8740de989eb238abc60ff6ce8df815dbdec210
parentf7bf83546e1f2edb71ad05bd33e01894a359fe02
Cherry-pick 4cc74767

Headers: forbid \r and \n also after \0, allow CRLF followed by HT or SP and forbid \0. See bug #60227.

Conflicts:

ext/standard/tests/general_functions/bug60227.phpt
ext/standard/tests/general_functions/bug60227_1.phpt
ext/standard/tests/general_functions/bug60227_2.phpt
main/SAPI.c
ext/standard/tests/general_functions/bug60227_1.phpt
ext/standard/tests/general_functions/bug60227_2.phpt
ext/standard/tests/general_functions/bug60227_3.phpt [new file with mode: 0644]
ext/standard/tests/general_functions/bug60227_4.phpt [new file with mode: 0644]
main/SAPI.c