aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--NEWS7
-rw-r--r--bin/cleanarch2
2 files changed, 8 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 46aadddf..064df556 100644
--- a/NEWS
+++ b/NEWS
@@ -5,6 +5,13 @@ Copyright (C) 1998-2020 by the Free Software Foundation, Inc.
Here is a history of user visible changes to Mailman.
+2.1.40 (xx-xxx-xxxx)
+
+ Bug Fixes and other patches
+
+ - Test for a valid header following a Unix From_ line in bin/cleanarch
+ has been improved. (LP: #1957025)
+
2.1.39 (13-Dec-2021)
Bug Fixes and other patches
diff --git a/bin/cleanarch b/bin/cleanarch
index 9e4d2bde..01266b15 100644
--- a/bin/cleanarch
+++ b/bin/cleanarch
@@ -60,7 +60,7 @@ cre = re.compile(mailbox.UnixMailbox._fromlinepattern)
# From RFC 2822, a header field name must contain only characters from 33-126
# inclusive, excluding colon. I.e. from oct 41 to oct 176 less oct 072. Must
# use re.match() so that it's anchored at the beginning of the line.
-fre = re.compile(r'[\041-\071\073-\176]+')
+fre = re.compile(r'[\041-\071\073-\176]+:')