[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#904741: lighttpd: create-mime.assign.pl skips mime types with capital letters



Hi,

this was fixed upstream (in 1.4.36) a long time ago, see:

  https://github.com/lighttpd/lighttpd1.4/commit/8db141a1b30e5808679e1f341c6ca914be91bed8

We imported the script from debian and extended it heavily.

The debian package is still using the original debian one.

cheers,
Stefan

On 07/27/2018 02:16 PM, chrysn wrote:
> Package: lighttpd
> Version: 1.4.49-1.1
> Severity: normal
> Tags: patch
> 
> The create-mime.assign.pl script can only read mime types without
> capital letters from /etc/mime.types, thus reporting files like .ts or
> .m3u8 as application/octet-stream instead of video/MP2T and
> application/x-mpegURL, respectively.
> 
> The attached patch fixes the issue by accepting capital letters in;
> [^\s] would be an alternative depending on the precise definition of the
> mime.types file.
> 
> Best regards, and thank you for maintaining this package
> chrysn


Reply to: