source: server/fedora/specs/php.spec.patch @ 1035

Last change on this file since 1035 was 1035, checked in by mitchb, 14 years ago
Fix "the-bug" (non-empty content in 304s) in PHP (patch by ezyang) and Apache PHP should not produce any output, even if zlib.output_compression is on, if the HTTP response code is 204 or 304 (no content or not modified). Fixes PHP bug #42362 with php.cvs #56693, see: Apache should discard any body provided by a script (in any language, not just PHP) when the status is "no content" or "not modified". Addresses part of Apache bug #40953, see: Solves support issue #773060, see:
File size: 925 bytes
  • php.spec

    old new  
    88Summary: PHP scripting language for creating dynamic web sites
    99Name: php
    1010Version: 5.2.8
    11 Release: 1%{?dist}
     11Release: 1%{?dist}.scripts.%{scriptsversion}
    1212License: PHP
    1313Group: Development/Languages
    3939Patch50: php-5.2.7-tests-dashn.patch
    4040Patch51: php-5.0.4-tests-wddx.patch
     42# Fix for the-bug (PHP bug #42362, php.cvs #56693)
     43Provides: scripts-php
     44Patch100: php-scripts-304.patch
    4246BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
    4448BuildRequires: bzip2-devel, curl-devel >= 7.9, db4-devel, expat-devel
    377381%patch50 -p1 -b .tests-dashn
    378382%patch51 -p1 -b .tests-wddx
     384%patch100 -p1 -b .scripts-304
    380386# Prevent %%doc confusion over LICENSE files
    381387cp Zend/LICENSE Zend/ZEND_LICENSE
Note: See TracBrowser for help on using the repository browser.