This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2008年12月02日 16:15 by ishimoto, last changed 2022年04月11日 14:56 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| email.patch | ishimoto, 2008年12月02日 16:15 | |||
| Messages (3) | |||
|---|---|---|---|
| msg76755 - (view) | Author: Atsuo Ishimoto (ishimoto) * | Date: 2008年12月02日 16:15 | |
email.Header.decode_header() doesn't work if encoded-word was separeted
by CRLF.
For exmaple, decode_header('=?iso-8859-1?q?hello?=\r\n world.') returns
[('=?iso-8859-1?q?hello?=\r\n world.', None)], not [('hello',
'iso-8859-1'), (' world.', None)].
This bug was caused by rev.54371, bug #1582282. I attached a patch to
fix problem and test-case.
|
|||
| msg81071 - (view) | Author: Tom Lynn (tlynn) | Date: 2009年02月03日 17:07 | |
Duplicates issue1079. |
|||
| msg85367 - (view) | Author: Tony Nelson (tony_nelson) | Date: 2009年04月04日 02:12 | |
See patch in issue1079. I don't think email.header can require whitespace until it decodes parsed headers, as whitespace is not always required. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:56:42 | admin | set | github: 48741 |
| 2010年08月04日 02:40:54 | terry.reedy | set | status: open -> closed |
| 2009年12月30日 02:32:51 | r.david.murray | set | priority: normal resolution: duplicate superseder: decode_header does not follow RFC 2047 stage: resolved |
| 2009年04月04日 02:12:05 | tony_nelson | set | nosy:
+ barry, tony_nelson messages: + msg85367 versions: + Python 2.7 |
| 2009年02月03日 17:07:46 | tlynn | set | nosy:
+ tlynn messages: + msg81071 |
| 2008年12月02日 16:15:58 | ishimoto | create | |