https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6185
Summary: add_header adds header fields in random order
Product: Spamassassin
Version: 3.3.0
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P5
Component: Libraries
AssignedTo: [email protected]
ReportedBy: [email protected]
The 'add_header' configuration option keeps requested header field names
in a perl hash, so when these are finally inserted into a message, their
order is seemingly random, i.e. as provided by a hash.
I think it would be nice to let the configuration order be preserved,
and header field names kept in a list instead of a hash. As the number
of such added header fields is small, I don't see any performance
concerns during configuration, and during insertion the list is traversed
linearly even now. Any objections for such a change?
--
Configure bugmail:
https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.