Репозитории ALT
S: | 2.1.39-alt1 |
5.1: | 2.1.12-alt2 |
4.1: | 2.1.10-alt0.3.1.M41.1 |
4.0: | 2.1.9-alt6.M40.1 |
3.0: | 2.1.6-alt1 |
Группа :: Система/Серверы
Пакет: mailman
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: mailman-2.1.9-deb-00_stolen_from_HEAD.patch
Скачать
Скачать
Patch: 00_stolen_from_HEAD.patch
Author: Tollef Fog Heen <tfheen@debian.org>
Handle empty queue files.
Index: Mailman/Handlers/Scrubber.py
===================================================================
--- Mailman/Handlers/Scrubber.py.orig 2006-08-15 15:12:19.000000000 +0800
+++ Mailman/Handlers/Scrubber.py 2006-08-15 15:14:15.000000000 +0800
@@ -370,6 +370,8 @@
t = u.encode('ascii', 'replace')
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, ValueError):
t = t.encode(lcset, 'replace')