Message71573
| Author | kcarnold |
|---|---|
| Recipients | barry, gvanrossum, kcarnold, loewis, richard, skip.montanaro |
| Date | 2008-08-20.20:50:12 |
| SpamBayes Score | 7.418996e-06 |
| Marked as misclassified | No |
| Message-id | <1219265413.24.0.275977608376.issue504152@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
This issue still seems to be present in Python 2.5's email module.
feedparser.py line 444-445 says:
# XXX reconsider the joining of folded lines
lhdr = EMPTYSTRING.join(lastvalue)[:-1].rstrip('\r\n')
I think that should be something like:
lhdr = EMPTYSTRING.join(ln.rstrip('\r\n') for ln in lastvalue)[:-1])
The resulting headers still need a fair amount of massaging, though; why
not just use Header instances for the headers? |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2008-08-20 20:50:13 | kcarnold | set | recipients: + kcarnold, gvanrossum, loewis, skip.montanaro, barry, richard |
| 2008-08-20 20:50:13 | kcarnold | set | messageid: <1219265413.24.0.275977608376.issue504152@psf.upfronthosting.co.za> |
| 2008-08-20 20:50:12 | kcarnold | link | issue504152 messages |
| 2008-08-20 20:50:12 | kcarnold | create | |