Update of /cvsroot/mhonarc/mhonarc/MHonArc/lib
In directory subversions:/tmp/cvs-serv14405
Modified Files:
readmail.pl
Log Message:
* MIMEEXCS automatically handles unofficial version of a media type.
For example:
<MIMEEXCS>
text/html
</MIMEEXCS>
Will exclude text/html and text/x-html data.
Index: readmail.pl
===================================================================
RCS file: /cvsroot/mhonarc/mhonarc/MHonArc/lib/readmail.pl,v
retrieving revision 2.21
retrieving revision 2.22
diff -C2 -r2.21 -r2.22
*** readmail.pl 15 Oct 2002 22:06:53 -0000 2.21
--- readmail.pl 27 Oct 2002 03:10:45 -0000 2.22
***************
*** 461,465 ****
## Check if type is excluded
! if ($MIMEExcs{$ctype} || $MIMEExcs{$type}) {
return (&$ExcludedPartFunc($ctype));
}
--- 461,465 ----
## Check if type is excluded
! if (MAILis_excluded($ctype)) {
return (&$ExcludedPartFunc($ctype));
}
***************
*** 850,853 ****
--- 850,856 ----
if ($MIMEExcs{$ctype}) {
return 1;
+ }
+ if ($ctype =~ s/\/x-/\//) {
+ return 1 if $MIMEExcs{$ctype};
}
if ($ctype =~ m|([^/]+)/|) {
---------------------------------------------------------------------
To sign-off this list, send email to majordomo(_at_)mhonarc(_dot_)org with the
message text UNSUBSCRIBE MHONARC-DEV