http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5399
------- Additional Comments From [EMAIL PROTECTED] 2007-04-01 13:20 -------
It turns out that Util.pm does almost the right thing
# strip inappropriate chars
$ct =~ tr/\000-\040\177-\377\042\050\051\054\056\072-\077\100\133-\135//d;
$ct = lc $ct;
# bug 4298: If at this point we don't have a content-type, assume text/plain
# also, if the content-type is simply "text" or "text/", assume text/plain
if (!$ct || $ct =~ /^text\/?$/) {
$ct = "text/plain";
}
That turns Content-type: text foo
into textfoo which then doesn't match the test for "text" or "text/"
We need to modify this into something which will match "text" followed by a
space followed by anything, or "text" followed by "/" followed by anything that
we don't otherwise recognize.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.