Bug 64087 - Message-ID header not correctly unfolded
Summary: Message-ID header not correctly unfolded
Status: NEW
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: mod_mbox (show other bugs)
Version: 2.5-HEAD
Hardware: PC Mac OS X 10.1
: P2 normal (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
Depends on:
Reported: 2020-01-19 11:30 UTC by Sebb
Modified: 2020-01-19 11:30 UTC (History)
0 users


Note You need to log in before you can comment on or make changes to this bug.
Description Sebb 2020-01-19 11:30:29 UTC
Message-ID headers can sometimes be folded within the value, e.g. is one of the MTAs allows at most 78 chars per line.

The value must be unfolded before it can be used, however this does not always happen, see [1]. In this case the CRLF has been dropped, but the TAB has not.

Note that fixing this would result in a change to the Permalink.
In order to ensure the original Permalink continues to work, mod_mbox needs to be extended to support retrieval both with and without the %09 in the URL.

If the unfolding is not done, then the URL for the message in an archive can vary depending on the route it took to get to the archiver.

[1] http://mail-archives.apache.org/mod_mbox/cocoon-dev/200403.mbox/raw/%3CC726734B5ACA2445B2BB93E87ADD5033AF3A25%40akxch03.tvnzad.tvnz.co.n%09z%3E