------------------------------------------------------------
revno: 1886
fixes bug: https://launchpad.net/bugs/1957025
committer: Mark Sapiro <m...@msapiro.net>
branch nick: 2.1
timestamp: Mon 2022-01-10 19:08:45 -0800
message:
  Fix test for valid header following From_ line.
modified:
  NEWS
  bin/cleanarch


--
lp:mailman/2.1
https://code.launchpad.net/~mailman-coders/mailman/2.1

Your team Mailman Checkins is subscribed to branch lp:mailman/2.1.
To unsubscribe from this branch go to 
https://code.launchpad.net/~mailman-coders/mailman/2.1/+edit-subscription
=== modified file 'NEWS'
--- NEWS	2021-12-13 20:36:11 +0000
+++ NEWS	2022-01-11 03:08:45 +0000
@@ -5,6 +5,13 @@
 
 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

=== modified file 'bin/cleanarch'
--- bin/cleanarch	2018-06-17 23:47:34 +0000
+++ bin/cleanarch	2022-01-11 03:08:45 +0000
@@ -60,7 +60,7 @@
 # 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]+:')
 
 
 

_______________________________________________
Mailman-checkins mailing list -- mailman-checkins@python.org
To unsubscribe send an email to mailman-checkins-le...@python.org
https://mail.python.org/mailman3/lists/mailman-checkins.python.org/
Member address: arch...@jab.org

Reply via email to