[ mailman-Bugs-1090439 ] password reminder can be shunt when encoding usascii

SourceForge.net noreply at sourceforge.net
Mon Jan 17 01:42:31 CET 2005


Bugs item #1090439, was opened at 2004-12-23 16:31
Message generated for change (Comment added) made by tkikuchi
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100103&aid=1090439&group_id=103

Category: None
Group: 2.1 (stable)
Status: Open
Resolution: Later
Priority: 5
Submitted By: Bernhard Reiter (ber)
Assigned to: Tokio Kikuchi (tkikuchi)
Summary: password reminder can be shunt when encoding usascii

Initial Comment:
One user here has a password with characters which 
are not in usascii. The default language of the Mailman
installation is English (USA) which gives usascii as
encoding.
This is a stable Debian with Python 2.1.3.

The password reminders to be send to this person are
shunted
because of:

Uncaught runner exception: ASCII encoding error:
ordinal not in range(128)
  File
"/home/services/mailman/Mailman/Queue/Runner.py", line
111, in _oneloop
    self._onefile(msg, msgdata)
  File
"/home/services/mailman/Mailman/Queue/Runner.py", line
167, in _onefile
    keepqueued = self._dispose(mlist, msg, msgdata)
  File
"/home/services/mailman/Mailman/Queue/OutgoingRunner.py",
line 73, in _dispose
    self._func(mlist, msg, msgdata)
  File
"/home/services/mailman/Mailman/Handlers/SMTPDirect.py",
line 152, in process
    deliveryfunc(mlist, msg, msgdata, envsender,
refused, conn)
  File
"/home/services/mailman/Mailman/Handlers/SMTPDirect.py",
line 356, in bulkdeliver
    msgtext = msg.as_string()
  File "/home/services/mailman/Mailman/Message.py",
line 208, in as_string
    g.flatten(self, unixfrom=unixfrom)
  File
"/home/services/mailman/pythonlib/email/Generator.py",
line 102, in flatten
    self._write(msg)
  File
"/home/services/mailman/pythonlib/email/Generator.py",
line 130, in _write
    self._dispatch(msg)
  File
"/home/services/mailman/pythonlib/email/Generator.py",
line 156, in _dispatch
    meth(msg)
  File
"/home/services/mailman/pythonlib/email/Generator.py",
line 202, in _handle_text
    self._fp.write(payload)
UnicodeError: ASCII encoding error: ordinal not in
range(128)

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

>Comment By: Tokio Kikuchi (tkikuchi)
Date: 2005-01-17 00:42

Message:
Logged In: YES 
user_id=67709

Sorry but fix will be after 2.1.6 release. In the meantime,
the site owner can reset the password of this person from
bin/withlist script.


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

Comment By: Tokio Kikuchi (tkikuchi)
Date: 2005-01-17 00:39

Message:
Logged In: YES 
user_id=67709

I have no idea how laten-1 8bit characters to be included in
a us-ascii english list password reminder. Maybe we should
restrict password within us-ascii printables. I want to work
on this direction so I am assigning this to myself.


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

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


More information about the Mailman-coders mailing list