Bug 164731 - php interprets .php.gz files
Summary: php interprets .php.gz files
Keywords:
Status: CLOSED DUPLICATE of bug 163971
Alias: None
Product: Fedora
Classification: Fedora
Component: php
Version: 4
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Joe Orton
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-07-31 06:04 UTC by Bug Master
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2005-08-01 08:55:49 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Bug Master 2005-07-31 06:04:11 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; X11; Linux i686; en) Opera 8.01

Description of problem:
.php.gz files are interpret as .php files instead of .gz files

Version-Release number of selected component (if applicable):
httpd-2.0.54-10, php-5.0.4-10.3

How reproducible:
Always

Steps to Reproduce:
1. gzip a php file
2. place in web tree
3. attempt to retrieve.
  

Actual Results:  This shows up in the error log:

[client <ipaddress>] PHP Warning:  Unexpected character in input:  '\x06' 
(ASCII=6) state=1 in /home/html/projects/test.php.gz on line 219, referer: http:/
/eder.us/projects/test.html

An empty file is returned to the browser

Expected Results:  test.php.gz should be downloaded.  PHP should not be a part of the request.

Additional info:

Comment 1 Joe Orton 2005-08-01 08:55:49 UTC
Please see bug 163971 comment 3 for a workaround.

*** This bug has been marked as a duplicate of 163971 ***


Note You need to log in before you can comment on or make changes to this bug.