From 43238d3688a51d98ce47151173aa7971e231a3bb Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Thu, 3 Sep 2015 03:00:28 +0000 Subject: get rid of Message-ID compression entirely Provide a fallback for legacy SHA-1 messages, but do not advertise shorter URLs anymore for data portability concerns. This fixes a regression introduced in commit 81a9c1b476987d845b340ab9013d26cf4487cb9a ("search: disable Message-ID compression in Xapian") which ended up breaking thread-related endpoints for large Message-IDs, as lookups on the SHA-1 message no longer worked. --- lib/PublicInbox/ExtMsg.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/PublicInbox/ExtMsg.pm') diff --git a/lib/PublicInbox/ExtMsg.pm b/lib/PublicInbox/ExtMsg.pm index 3e0e6e4e..00903225 100644 --- a/lib/PublicInbox/ExtMsg.pm +++ b/lib/PublicInbox/ExtMsg.pm @@ -5,7 +5,7 @@ use strict; use warnings; use URI::Escape qw(uri_escape_utf8); use PublicInbox::Hval; -use PublicInbox::MID qw/mid_compress mid2path/; +use PublicInbox::MID qw/mid2path/; # TODO: user-configurable our @EXT_URL = ( -- cgit v1.2.3-24-ge0c7