Re: svn: /php/php-src/ branches/PHP_5_2/NEWS branches/PHP_5_2/ext/zlib/tests/bug51269.phpt branches/PHP_5_2/ext/zlib/zlib.c branches/PHP_5_3/NEWS
branches/PHP_5_3/ext/zlib/tests/bug51269.phpt branches/PHP_5_3/ext/zlib/zlib.c trunk/ext/zlib/
| From: | Adam Harvey | Date: | Thu, 11 Mar 2010 21:54:13 +0000 |
| Subject: | Re: svn: /php/php-src/ branches/PHP_5_2/NEWS branches/PHP_5_2/ext/zlib/tests/bug51269.phpt branches/PHP_5_2/ext/zlib/zlib.c branches/PHP_5_3/NEWS branches/PHP_5_3/ext/zlib/tests/bug51269.phpt branches/PHP_5_3/ext/zlib/zlib.c trunk/ext/zlib/ |
||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-62025@lists.php.net to get a copy of this message | ||
On 12 March 2010 00:11, Hannes Magnusson <hannes.magnusson@gmail.com> wrote:
> On Thu, Mar 11, 2010 at 07:20, Adam Harvey <aharvey@php.net> wrote:
>> aharvey Thu, 11 Mar 2010 06:20:22 +0000
>>
>> Revision:
>> http://svn.php.net/viewvc?view=revision&revision=296060
>>
>> Log:
>> Fixed bug #51269 (zlib.output_compression Overwrites Vary Header).
>
> Isn't this the same as #40325, which is fixed in HEAD?
Not exactly, although it is closely related. #40325 was about sending
Vary: Accept-Encoding in the general case when the gzip output handler
is being used — this is well and good, but because
sapi_add_header_ex() was being called with the replace flag set, any
other Vary headers (such as the Vary: Cookie example in #51269) were
being obliterated.
The linked revision changes that. The codepath for HEAD is obviously
quite different due to the new output handling code, but it had the
same issue.
Adam