[ mailman-Patches-796950 ] Mails get shunt for no apparent reason

SourceForge.net noreply at sourceforge.net
Thu Aug 28 14:45:57 EDT 2003


Patches item #796950, was opened at 2003-08-28 13:45
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=796950&group_id=103

Category: mail delivery
Group: Mailman 2.1
Status: Open
Resolution: None
Priority: 5
Submitted By: Nadim Shaikli (shaikli)
Assigned to: Nobody/Anonymous (nobody)
Summary: Mails get shunt for no apparent reason

Initial Comment:
Here's the patch that was noted on this thread,

 
http://mail.python.org/pipermail/mailman-developers/2003-August/015547.html

I hope it makes it ASAP as it has solved a major
problem for us and
could be of use to others (there is a bug report with
symptoms very 
similar to what we saw, bug #707610 among others).

--- Scrubber.py.orig 2003-08-13 23:19:19.000000000 -0700
+++ Scrubber.py 2003-08-14 00:23:47.000000000 -0700
@@ -305,6 +305,8 @@
                     t = unicode(t, 'ascii',
'replace').encode('ascii')
                 try:
                     # Should use HTML-Escape, or try
generalizing to UTF-8
+                   if len(charset) == 0:
+                       charset = 'us-ascii'
                     t = t.encode(charset, 'replace')
                 except (UnicodeError, LookupError):
                     t = t.encode(lcset, 'replace')


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=300103&aid=796950&group_id=103



More information about the Mailman-coders mailing list