From af10d15487fa9f4086c8f5c74d7ee737997ed905 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sun, 23 Aug 2015 20:09:12 +0000 Subject: [PATCH] view: case-insensitive "Re:" check for replies This is to match what Mail::Thread nad our own search relies on. However, we will be more lenient on spaces, though. --- lib/PublicInbox/View.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/PublicInbox/View.pm b/lib/PublicInbox/View.pm index f9081a6d..72bbb946 100644 --- a/lib/PublicInbox/View.pm +++ b/lib/PublicInbox/View.pm @@ -419,7 +419,7 @@ sub html_footer { Email::Address->purge_cache if $standalone; my $subj = $mime->header('Subject') || ''; - $subj = "Re: $subj" unless $subj =~ /\bRe:/; + $subj = "Re: $subj" unless $subj =~ /\bRe:/i; my $mid = $mime->header('Message-ID'); my $irt = uri_escape_utf8($mid); delete $cc{$to}; -- 2.44.0