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

Last change on this file since 1035 was 1035, checked in by mitchb, 15 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: http://bugs.php.net/bug.php?id=42362 http://news.php.net/php.cvs/56693 http://cvs.php.net/viewvc.cgi/php-src/ext/zlib/zlib.c?r1=1.183.2.6.2.5.2.9&r2=1.183.2.6.2.5.2.10 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: https://issues.apache.org/bugzilla/show_bug.cgi?id=40953#c7 Solves scripts.mit.edu support issue #773060, see: https://help.mit.edu/Ticket/UpdateCallCenter.html?id=773060 https://diswww.mit.edu/charon/scripts/24018
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
    1414URL: http://www.php.net/
     
    3939Patch50: php-5.2.7-tests-dashn.patch
    4040Patch51: php-5.0.4-tests-wddx.patch
    4141
     42# Fix for the-bug (PHP bug #42362, php.cvs #56693)
     43Provides: scripts-php
     44Patch100: php-scripts-304.patch
     45
    4246BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
    4347
    4448BuildRequires: bzip2-devel, curl-devel >= 7.9, db4-devel, expat-devel
     
    377381%patch50 -p1 -b .tests-dashn
    378382%patch51 -p1 -b .tests-wddx
    379383
     384%patch100 -p1 -b .scripts-304
     385
    380386# Prevent %%doc confusion over LICENSE files
    381387cp Zend/LICENSE Zend/ZEND_LICENSE
    382388cp TSRM/LICENSE TSRM_LICENSE
Note: See TracBrowser for help on using the repository browser.