Re: [PHP-DEV] problem with header() and php trunk

2011-02-25 Thread Pierre Joye
hi Carsten, Thanks for the report and the patch (applied)! Cheers, On Fri, Feb 25, 2011 at 11:36 AM, Carsten Wiedmann wrote: > Am 24.02.2011 23:56, schrieb Carsten Wiedmann: >> >> Oh, this only happens with trunk, but not with e.g 5.3.5. But just see >> the difference: > > OK, this bug was intr

Re: [PHP-DEV] problem with header() and php trunk

2011-02-25 Thread Carsten Wiedmann
Am 24.02.2011 23:56, schrieb Carsten Wiedmann: Oh, this only happens with trunk, but not with e.g 5.3.5. But just see the difference: OK, this bug was introduced in r301263. It's removing +1 char while cutting LWS at the end of a header line. << --EXPECTREGEX-- .*string\(17\) \"x-headertest:

Re: [PHP-DEV] problem with header() and php trunk

2011-02-24 Thread Carsten Wiedmann
On 24/02/11 10:41 PM, Ben Schmidt wrote: On 25/02/11 3:28 AM, Carsten Wiedmann wrote: this code is not working with the current trunk: >> | | header('Content-Language: '); >> | ?> The result is an internale server error: >> | [Thu Feb 24 17:21:25 2011] [error] [client ::1] malformed header

[PHP-DEV] problem with header() and php trunk

2011-02-24 Thread Carsten Wiedmann
Hi list, this code is not working with the current trunk: | The result is an internale server error: | [Thu Feb 24 17:21:25 2011] [error] [client ::1] malformed header from | script. Bad header=Content-Language: php-cgi.exe Without only a space after ":" | header('Content-Language:'); or | he