[Amavisd-new-debian-devel] Re: Bug#350962: amavisd-new: cab files
not detected
Mark Martinec
Mark.Martinec at ijs.si
Thu Feb 2 20:23:45 UTC 2006
Henrique,
> A Debian user reported the bug below, and kindly provided a patch about a
> case mismatch for Microsoft cabinet.
Thanks, it will get into 2.4.0. I extended the expression to:
[qr/^Microsoft Cabinet (file|archive)\b/i => 'cab'],
to also recognize "Microsoft Cabinet archive data"
(I just happened to find an example of that).
> Is there a reason not to make all file(1) matching case-insensitive? I am
> inclined to do that to avoid future problems of this sort...
Don't know what would be best. For loose (short, general) patterns this
may be dangerous. For quite specific patterns it's probably alright.
So far there were hardly any problem of that sorts, so I'm somewhat
reluctant to change what works.
Mark
More information about the Amavisd-new-debian-devel
mailing list