Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Apache: Bugs

[Bug 47989] New: Junk string appended to compressed dynamic content when no expiry set.

 

 

Apache bugs RSS feed   Index | Next | Previous | View Threaded


bugzilla at apache

Oct 13, 2009, 2:50 AM

Post #1 of 1 (191 views)
Permalink
[Bug 47989] New: Junk string appended to compressed dynamic content when no expiry set.

https://issues.apache.org/bugzilla/show_bug.cgi?id=47989

Summary: Junk string appended to compressed dynamic content
when no expiry set.
Product: Apache httpd-2
Version: 2.2.13
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: mod_expires
AssignedTo: bugs [at] httpd
ReportedBy: madmalibu [at] gmail


When no expiry is set for deflated dynamic content (i.e. PHP) a junk string is
appended to any output, and mod_deflate fails, sending an uncompressed, chunked
output.

To reproduce, compile with mod_deflate and mod_expires. Don't set any expires
directives, set mod_deflate to gzip index.php.

Source: index.php
<?
print 'hello';
?>
&nbsp;world

Output: index.php (escaped for readability)
hello%20world%20%1F%u2039%08%uFFFD%uFFFD%uFFFD%uFFFD%uFFFD%uFFFD%03%03%uFFFD%uFFFD%uFFFD%uFFFD%uFFFD%uFFFD%uFFFD%uFFFD%uFFFD

I've encountered this with both mod_mime's AddOutputFilter and mod_filter's
FilterChain directives, hence choosing to classify it as mod_expires related.

I know this bug includes use of third party software, but I'd appreciated it if
someone could at least give it a cursory look over.

Cheers.

--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe [at] httpd
For additional commands, e-mail: bugs-help [at] httpd

Apache bugs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.