diff options
author | Mark Sapiro <mark@msapiro.net> | 2022-01-10 19:08:45 -0800 |
---|---|---|
committer | Mark Sapiro <mark@msapiro.net> | 2022-01-10 19:08:45 -0800 |
commit | 16c8af52bb280ae959137eed11bf4385d4340f31 (patch) | |
tree | 91a70371330bf09ff6ce6fe125bc3b9027f52dcf /bin/cleanarch | |
parent | d903c7d4f373a3de4652bfc514d09d5dae65647c (diff) | |
download | mailman2-16c8af52bb280ae959137eed11bf4385d4340f31.tar.gz mailman2-16c8af52bb280ae959137eed11bf4385d4340f31.tar.xz mailman2-16c8af52bb280ae959137eed11bf4385d4340f31.zip |
Fix test for valid header following From_ line.
Diffstat (limited to 'bin/cleanarch')
-rw-r--r-- | bin/cleanarch | 2 |
1 files changed, 1 insertions, 1 deletions
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]+:') |