diff options
| author | bwarsaw | 2002-10-25 19:06:33 +0000 |
|---|---|---|
| committer | bwarsaw | 2002-10-25 19:06:33 +0000 |
| commit | 0612003f309394789ec11a65580374866f74076c (patch) | |
| tree | 3e89869e50c7e5c1c037d9067919d6fb7cb3568c /Mailman/MTA/Manual.py | |
| parent | 15d254f9eafd10f06adb3508245378086ebddab9 (diff) | |
| download | mailman-0612003f309394789ec11a65580374866f74076c.tar.gz mailman-0612003f309394789ec11a65580374866f74076c.tar.zst mailman-0612003f309394789ec11a65580374866f74076c.zip | |
pending_requests(): The requests.pck database may have Unicode strings
in them, say if an encoded name appeared in a From header. But
maketext() may return byte strings with non-ascii characters in them,
and concatenating these two types of strings is a no no.
The local fix (implemented here) is to make sure that
pending_requests() returns a byte string with no characters that are
illegal in the list's preferred language's charset.
The longer term fix probably ought to be that we use Unicode
everywhere and that maketext() returns a Unicode.
Diffstat (limited to 'Mailman/MTA/Manual.py')
0 files changed, 0 insertions, 0 deletions
