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-ASN: 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 1D6C31F5AE for ; Mon, 24 May 2021 22:48:56 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH] lei export-kw: fix case-insensitivity typo for IMAP URLs Date: Mon, 24 May 2021 22:48:55 +0000 Message-Id: <20210524224855.18934-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: Fixes: a9bfba8eb31dbb4c ("lei inspect: use LeiMailSync->match_imap_url") --- lib/PublicInbox/LeiExportKw.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/PublicInbox/LeiExportKw.pm b/lib/PublicInbox/LeiExportKw.pm index 404570c5..d8ba8fd5 100644 --- a/lib/PublicInbox/LeiExportKw.pm +++ b/lib/PublicInbox/LeiExportKw.pm @@ -75,7 +75,7 @@ sub input_path_url { my $mdir = $1; require PublicInbox::LeiToMail; # kw2suffix $lms->each_src($input, \&export_kw_md, $self, $mdir); - } elsif ($input =~ m!\Aimaps?://i!) { + } elsif ($input =~ m!\Aimaps?://!i) { my $uri = PublicInbox::URIimap->new($input); my $mic = $self->{nwr}->mic_for_folder($uri); $lms->each_src($$uri, \&export_kw_imap, $self, $mic);