[ mailman-Patches-1004885 ] digest crashes on gpg signed message
SourceForge.net
noreply at sourceforge.net
Fri Aug 6 23:28:42 CEST 2004
Patches item #1004885, was opened at 2004-08-06 16:28
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=300103&aid=1004885&group_id=103
Category: command line scripts
Group: Mailman 2.2 / 3.0
Status: Open
Resolution: None
Priority: 5
Submitted By: Stephen Baker (sbbaker65)
Assigned to: Nobody/Anonymous (nobody)
Summary: digest crashes on gpg signed message
Initial Comment:
Digest processing crashed when it encountered a gpg
signed message created in evolution.
Environment:
Mail client
Evolution: 1.4.5
GnuPG: 1.2.3
Mail server
Mailman: 2.2a0
Python: 2.3a0
Sendmail: 8.12.8
SunOS: 5.7
Correction:
Scrubber.py:74
def guess_extension(ctype, ext):
# mimetypes maps multiple extensions to the same
type, e.g. .doc, .dot,
# and .wiz are all mapped to application/msword.
This sucks for finding
# the best reverse mapping. If the extension is
one of the giving
# mappings, we'll trust that, otherwise we'll
just guess. :/
all = guess_all_extensions(ctype, strict=0)
+ if all == None:
+ all = []
if ext in all:
return ext
return all and all[0]
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=300103&aid=1004885&group_id=103
More information about the Mailman-coders
mailing list