diff options
-rw-r--r-- | b4/__init__.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/b4/__init__.py b/b4/__init__.py index b03ed83..c07ee91 100644 --- a/b4/__init__.py +++ b/b4/__init__.py @@ -1397,6 +1397,9 @@ class LoreMessage: logger.debug('Ignoring %s (header after other content)', line) continue if followup: + if not tname.isascii(): + logger.debug('Ignoring known non-ascii follow-up trailer: %s', tname) + continue mperson = re.search(r'\S+@\S+\.\S+', groups[1]) if not mperson and tname not in nonperson: logger.debug('Ignoring %s (not a recognized non-person trailer)', line) |