Commit a9f2bb67 authored by Byron Jones's avatar Byron Jones

Bug 852445: Mime type detection truncates the first 32 bytes from attachments

r=LpSolit,r=LpSolit
parent 3380135d
......@@ -546,6 +546,7 @@ sub _check_content_type {
}
my $mimetype = mimetype($fh);
$fh->seek(0, 0);
$content_type = $mimetype if $mimetype;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment