]> Sergey Matveev's repositories - public-inbox.git/commitdiff
inboxwritable: warn_ignore: "Bad UTF7 data escape"
authorEric Wong <e@80x24.org>
Wed, 16 Dec 2020 23:19:02 +0000 (23:19 +0000)
committerEric Wong <e@80x24.org>
Thu, 17 Dec 2020 19:41:12 +0000 (19:41 +0000)
As with the other messages in this callback, there's
nothing we can do about invalid messages ending up in
our Maildirs for -watch.

lib/PublicInbox/InboxWritable.pm

index 4980904541af7f245c09787d6bea59f8082d64c6..bdfae2f888b7e9ed07f9a2425173ab16395dde7d 100644 (file)
@@ -287,6 +287,8 @@ sub warn_ignore {
        # PublicInbox::MsgTime
        || $s =~ /^bogus TZ offset: .+?, ignoring and assuming \+0000/
        || $s =~ /^bad Date: .+? in /
+       # Encode::Unicode::UTF7
+       || $s =~ /^Bad UTF7 data escape at /
 }
 
 # this expects to be RHS in this assignment: "local $SIG{__WARN__} = ..."