[Esd-l] mangled mime type becomes text/plain (sanitizer 1.137)

Morten Hemmingsson Morten.Hemmingsson at iea.lth.se
Fri Jan 24 08:41:01 PST 2003

Looking closer I wonder if the following line(s) is the culprit?

html-trap.procmail:1192:                    $dfrhdr =~ s/${oct}/text\/plain;/i;       #\
html-trap.procmail.nomacroscan:1023:        $dfrhdr =~ s/${oct}/text\/plain;/i;       #\

compare with

html-trap.procmail:1157:                    $hdrtxt =~ s/${oct}/APPLICATION\/DEFANGED;/i; #\
html-trap.procmail.nomacroscan:988:         $hdrtxt =~ s/${oct}/APPLICATION\/DEFANGED;/i; #\

changing text/plain to APPLICATON/DEFANGED in line 1192 or 1023 I get
the desired behaviour, i.e. APPLICATION/DEFANGED where i previoulsy
got text/plain.

Any ideas of what drawbacks/consequences there might be of this?



More information about the esd-l mailing list