Subject: | First character of MIME encoding result (if it exists) is cutoff |
Here is a small script that illustrates the error for me:
use File::LibMagic;
my $lm = File::LibMagic->new();
my $filedata = <<EOS;
From: foo\@example.com
blah
EOS
print "==> " . $lm->checktype_contents($filedata) . "\n";
The output is:
==> message/rfc822\011bit
The relevant line in the magic.mime file is here:
0 string From: message/rfc822 7bit
I can recreate this for any other types as well.