[Tracker-discuss] [issue147] Current email headers corrupt mail reader display

Martin v. Löwis metatracker at psf.upfronthosting.co.za
Sun Sep 23 08:44:11 CEST 2007


Martin v. Löwis added the comment:

I think I have a theory what's happening. It seems that the name of the roundup
user (i.e. "Mark Dickinson") has leading and trailing tabs and line breaks in
the data base. In the display of the user data, e.g. in

http://bugs.python.org/user1118

it's not clearly visible, but if you look at the HTML code, you see that the
value= field has such extra white space. That would explain that the From: field
reportedly reads

=?utf-8?q?=0A=09=09=09=09=09Mark_Dickinson=0A=09=09=09=09?=

and that would explain that Dennis sees corrupted display - it would then have
nothing to do with the line length, or whether or not the From: field is broken
into multiple lines in the raw message.

Tentatively assigning this to Paul, but anybody with access to the database
could really fix this. I recommend to change the database directly, rather 
than going through an API that would leave log entries. I'll attach a script
that performs the fixing.

----------
assignedto:  -> dubois
nosy: +dubois, forsberg
priority: bug -> urgent

_______________________________________________________
Meta Tracker <metatracker at psf.upfronthosting.co.za>
<http://psf.upfronthosting.co.za/roundup/meta/issue147>
_______________________________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fixuser.py
Type: application/x-python
Size: 462 bytes
Desc: not available
Url : http://mail.python.org/pipermail/tracker-discuss/attachments/20070923/ad97a34b/attachment.bin 


More information about the Tracker-discuss mailing list