From 20ab293a131f0ec228932bf3448d1b09e280672b Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Wed, 11 Jan 2023 10:55:39 +0000 Subject: www: /$INBOX/$MSGID/d/ to diff reused Message-IDs To ensure users aren't abusing the ability to reuse Message-IDs, provide a convenient front-end to `lei mail-diff' from WWW. Most of the time it's just list-appended signatures, so I expect this to be useful for /all/ users. --- lib/PublicInbox/Hval.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/PublicInbox/Hval.pm') diff --git a/lib/PublicInbox/Hval.pm b/lib/PublicInbox/Hval.pm index 00b3c8b4..0677865e 100644 --- a/lib/PublicInbox/Hval.pm +++ b/lib/PublicInbox/Hval.pm @@ -118,7 +118,7 @@ $ESCAPES{'/'} = ':'; # common sub to_attr ($) { my ($str) = @_; - # git would never do this to us: + # git would never do this to us, mail diff uses // to prevent anchors: return if index($str, '//') >= 0; my $first = ''; -- cgit v1.2.3-24-ge0c7