Ticket #1484811 (closed Bugs: fixed)
Handling of long headers inconsistent (Received and From)
| Reported by: | memoryhole | Owned by: | |
|---|---|---|---|
| Priority: | 5 | Milestone: | 0.1.1 |
| Component: | IMAP connection | Version: | svn-trunk |
| Severity: | major | Keywords: | |
| Cc: |
Description
When transferring headers from incoming emails, usually newlines are stripped from them. In the case of Received headers, for some reason, they are not. Thus, if the Received header is getting long, mails are fed to sendmail that have extra newlines in the Received header. This can break things.
The simple solution is to strip newlines from Received headers, just like all other headers.
However, handling of wrapped headers is pretty fragile in its current form. The attached patch, to unfold all headers before parsing them, should be a better solution.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
