From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-Status: No, score=-4.0 required=3.0 tests=ALL_TRUSTED,BAYES_00 shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 1A40B1F934 for ; Wed, 16 Dec 2020 23:19:07 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 1/5] inboxwritable: warn_ignore: "Bad UTF7 data escape" Date: Wed, 16 Dec 2020 23:19:02 +0000 Message-Id: <20201216231906.6356-2-e@80x24.org> In-Reply-To: <20201216231906.6356-1-e@80x24.org> References: <20201216231906.6356-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: 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 | 2 ++ 1 file changed, 2 insertions(+) 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__} = ..."