[ mailman-Patches-670167 ] fix i18n attachment description in archive

SourceForge.net noreply at sourceforge.net
Sun Jan 19 21:13:28 EST 2003


Patches item #670167, was opened at 2003-01-18 00:58
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=300103&aid=670167&group_id=103

Category: Pipermail
Group: Mailman 2.1
>Status: Open
Resolution: Accepted
Priority: 5
Submitted By: Tokio Kikuchi (tkikuchi)
Assigned to: Nobody/Anonymous (nobody)
Summary: fix i18n attachment description in archive 

Initial Comment:
Bug-ID 669081 (Major attachment handling bug!) is
caused inaccurate handling of charset in Scrubber.py.
This is caused   by misuse of email functions (or by
bug in email package).
In Scrubber.py, attempt is made to get message charset
by part.get_charset() but it returns only None, as far
as I experimented. In this patch, message charset is
extracted from regular expression pattern in
content-type header.
This also set the charset of internally crafted message
part.
 

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

>Comment By: Barry A. Warsaw (bwarsaw)
Date: 2003-01-20 00:13

Message:
Logged In: YES 
user_id=12800

Reopening so this issue doesn't get lost.

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

Comment By: Tokio Kikuchi (tkikuchi)
Date: 2003-01-19 23:03

Message:
Logged In: YES 
user_id=67709

We, Japanese, need additional process of stringify and
regenerate  message instance..
Internal message is in 'euc-jp' but return value of
get_content_charset() becomes 'iso-2022-jp' even though the
get_payload() returns euc-jp text.
The message and part body is converted to iso-2022-jp when
it is output to SMTP (or whatever accepts in string format).


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

Comment By: Barry A. Warsaw (bwarsaw)
Date: 2003-01-19 21:18

Message:
Logged In: YES 
user_id=12800

Accepted, with changes.

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

Comment By: Tokio Kikuchi (tkikuchi)
Date: 2003-01-18 19:52

Message:
Logged In: YES 
user_id=67709

Update of patch.
Please backout the first one if you have already applied.


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

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



More information about the Mailman-coders mailing list