Bug #1552

mod_compress: should match for complete mime-type and the part before ';'

Added by stbuehler 336 days ago. Updated 90 days ago.

Status:New Start:
Priority:Normal Due date:
Assigned to:jan % Done:

0%

Category:mod_compress
Target version:1.4.21
Pending:

No

Resolution:


Description

config example:


mimetype.assign = ( ".txt" => "text/plain; charset=utf-8" )
compress.filetype           = ("text/plain")

Now the mimetypes do not match exactly, so mod_compress does not trigger.
The following patch checks for both: complete mime-type or the first part up to ';'.

mod_compress-match-for-complete-mime-type_lighty1.4.patch - Fixed some stupid bugs (2.3 KB) stbuehler, 02/15/2008 03:38 PM

mod_compress-match-for-complete-mime-type_lighty1.5.patch (1.7 KB) stbuehler, 02/15/2008 03:45 PM

History

10/08/2008 07:02 PM - stbuehler

  • Target version changed from 1.4.20 to 1.4.21

Also available in: Atom PDF