From: Eric Wong Date: Wed, 16 Dec 2020 23:19:02 +0000 (+0000) Subject: inboxwritable: warn_ignore: "Bad UTF7 data escape" X-Git-Tag: v1.7.0~1539 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=aad948558339aa28786973d112761c66b7452e26;p=public-inbox.git inboxwritable: warn_ignore: "Bad UTF7 data escape" As with the other messages in this callback, there's nothing we can do about invalid messages ending up in our Maildirs for -watch. --- diff --git a/lib/PublicInbox/InboxWritable.pm b/lib/PublicInbox/InboxWritable.pm index 49809045..bdfae2f8 100644 --- a/lib/PublicInbox/InboxWritable.pm +++ b/lib/PublicInbox/InboxWritable.pm @@ -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__} = ..."