Subject: mailman: non-ascii passwords cause montly password reminders to be shunted
Date: Wed, 09 Mar 2005 19:56:53 +0100
Package: mailman
Version: 2.1.5-7
Severity: important
Tags: l10n
If a user has entered a password containing non-ascii passwords,
presumably when subscribing via the web, Mailman fails to send the
montly password reminder. Instead, the password reminder goes into the
shunted queue.
The traceback in /var/log/mailman/error is as follows:
Mar 09 19:46:54 2005 (10420) Uncaught runner exception: 'ascii' codec
can't enco
de character u'\ufffd' in position 1015: ordinal not in range(128)
Mar 09 19:46:54 2005 (10420) Traceback (most recent call last):
File "/var/lib/mailman/Mailman/Queue/Runner.py", line 111, in _oneloop
self._onefile(msg, msgdata)
File "/var/lib/mailman/Mailman/Queue/Runner.py", line 167, in _onefile
keepqueued = self._dispose(mlist, msg, msgdata)
File "/var/lib/mailman/Mailman/Queue/IncomingRunner.py", line 130, in
_dispose
more = self._dopipeline(mlist, msg, msgdata, pipeline)
File "/var/lib/mailman/Mailman/Queue/IncomingRunner.py", line 153, in
_dopipel
ine
sys.modules[modname].process(mlist, msg, msgdata)
File "/var/lib/mailman/Mailman/Handlers/SpamDetect.py", line 108, in
process
g.flatten(msg)
File "/usr/lib/python2.3/email/Generator.py", line 102, in flatten
self._write(msg)
File "/usr/lib/python2.3/email/Generator.py", line 130, in _write
self._dispatch(msg)
File "/usr/lib/python2.3/email/Generator.py", line 156, in _dispatch
meth(msg)
File "/usr/lib/python2.3/email/Generator.py", line 202, in
_handle_text
self._fp.write(payload)
UnicodeEncodeError: 'ascii' codec can't encode character u'\ufffd' in
position 1
015: ordinal not in range(128)
Mar 09 19:46:54 2005 (10420) SHUNTING:
1110393401.579381+8f6515820543f84bdc48736
a6a965b73d741cfcc
-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (500, 'testing'), (50, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-1-686-smp
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Versions of packages mailman depends on:
ii apache2-mpm-prefork [httpd] 2.0.53-5 traditional model for Apache2
ii cron 3.0pl1-86 management of regular background p
ii debconf 1.4.30.11 Debian configuration management sy
ii libc6 2.3.2.ds1-20 GNU C Library: Shared libraries an
ii logrotate 3.7-2 Log rotation utility
ii postfix [mail-transport-age 2.1.5-6 A high-performance mail transport
ii pwgen 2.03-1 Automatic Password generation
ii python 2.3.5-1 An interactive high-level object-o
ii ucf 1.14 Update Configuration File: preserv
-- debconf information:
* mailman/queue_files_present:
* mailman/default_server_language: en
mailman/gate_news: false
* mailman/site_languages: nl, de, da, sv, en
* mailman/used_languages: da de en nl sv
* mailman/create_site_list:
Subject: Debian mailman bug 298753: non-ascii passwords cause montly password reminders to be shunted
Date: Wed, 28 Dec 2005 00:15:52 +0100
tags 298753 +unreproducible
Hi,
I tried this again with mailman 2.1.6-1 and the password reminder does
get out, "but" the password is HTML-escaped (with &#XXXX; "characters").
Copy-pasting the HTML-ized version of the password works, though. So
while not nice, it is not catastrophic.
Could you please confirm it behaves like that with the new version for you, too?
Thanks in advance,
--
Lionel
severity 298753 minor
retitle non-ascii passwords in montly password reminders html-encoded
thanks
Hello Eric,
Lionel wrote:
> I tried this again with mailman 2.1.6-1 and the password reminder does
> get out, "but" the password is HTML-escaped (with &#XXXX; "characters").
> Copy-pasting the HTML-ized version of the password works, though. So
> while not nice, it is not catastrophic.
>
> Could you please confirm it behaves like that with the new version for you, too?
Any news on this?
In the meanwhile, I'm downgrading this to a minor bug that the password
is displayed wrong.
Thijs
Debbugs is free software and licensed under the terms of the GNU General
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.