]> Sergey Matveev's repositories - public-inbox.git/commit
filter: use file(1) to detect mime type if octet-stream
authorEric Wong <normalperson@yhbt.net>
Fri, 28 Mar 2014 08:22:45 +0000 (08:22 +0000)
committerEric Wong <normalperson@yhbt.net>
Fri, 28 Mar 2014 08:22:45 +0000 (08:22 +0000)
commit0b4b51e8ba8cf62c8da9312666d4866ff2403d6e
tree949f23b057a76ff566e9d8d1de7f71bf6c74c6ac
parent67e53d0875a7efcb958fb9680ea87216adaf06cc
filter: use file(1) to detect mime type if octet-stream

Some mailers do not correctly detect/set the Content-Type header; so
attempt to keep messages based on our server-detected MIME type if
application/octet-stream was specified.
lib/PublicInbox/Filter.pm
t/filter.t