Project

General

Profile

Bug #1552

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

Added by stbuehler almost 9 years ago. Updated about 7 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
Category:
mod_compress
Target version:
Start date:
Due date:
% Done:

100%

Missing in 1.5.x:
No

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 View - Fixed some stupid bugs (2.35 KB) stbuehler, 2008-02-15 15:38

mod_compress-match-for-complete-mime-type_lighty1.5.patch View (1.65 KB) stbuehler, 2008-02-15 15:45


Related issues

Duplicated by Bug #2115: Issue in the parsing of filetypes for mod_compress Duplicate 2009-12-09

Associated revisions

Revision 2634 (diff)
Added by stbuehler about 7 years ago

mod_compress: match partial+full content-type (fixes #1552)

Revision d21c645b (diff)
Added by stbuehler about 7 years ago

mod_compress: match partial+full content-type (fixes #1552)

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2634 152afb58-edef-0310-8abb-c4023f1b3aa9

History

#1 Updated by stbuehler about 8 years ago

  • Target version changed from 1.4.20 to 1.4.21

#2 Updated by icy almost 8 years ago

  • Target version changed from 1.4.21 to 1.4.22
  • Patch available set to No

#3 Updated by stbuehler almost 8 years ago

  • Target version changed from 1.4.22 to 1.4.23

#4 Updated by stbuehler over 7 years ago

  • Target version changed from 1.4.23 to 1.4.24

#5 Updated by stbuehler about 7 years ago

  • Status changed from New to Fixed
  • % Done changed from 0 to 100

Applied in changeset r2634.

#6 Updated by stbuehler about 7 years ago

  • Missing in 1.5.x set to No

Also available in: Atom