Bug #1552
mod_compress: should match for complete mime-type and the part before ';'
| 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 ';'.