Re: Fixing MHonarc for mime-type application/

1997-01-23 13:51:39
William(_dot_)Laslop(_at_)Canada(_dot_)Sun(_dot_)Com said:
I ran into a problem with MHonarc v. 1.2.3 processing an application
type of "application/".  After some investigation, I
theorized that the problem lay in the fact that we're pattern matching
against "[\w-/]+" for the content-type, meaning that the period (and
anything after it) is not part of the content-type, resulting in a

MHonarc appears to do content-type pattern matching in mhonarc, and  I've altered the pattern match for
content-type in these files to be "[\w-/\.]+"; this seems to have
fixed the problem.

For example, in the mhonarc file, the original line: ($tmp =
$fields{'content-type'}) =~ m%^\s*([\w-/]+)%; becomes... ($tmp =
$fields{'content-type'}) =~ m%^\s*([\w-/\.]+)%;

Does anyone think that I've broken something by making these

No. It's already fixed like that in mhonarc 2.0a2. The offical answer is in:

Regards, Will

P.S.  Please respond directly as I am not on this mailing list.

<Prev in Thread] Current Thread [Next in Thread>