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: [email protected]
        ReportedBy: [email protected]


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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to