about summary refs log tree commit homepage
path: root/lib/PublicInbox/WWW.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2020-09-15 19:51:37 +0000
committerEric Wong <e@80x24.org>2020-09-16 04:06:10 +0000
commit82d793d96cc37d5b3cf562c7081bfacb05d1e4cd (patch)
treea66af407cfa46641a77f60631cef50a8c487bbb4 /lib/PublicInbox/WWW.pm
parent9cdeab04ebd95c7f778ba5f258399377b180f2cc (diff)
downloadpublic-inbox-82d793d96cc37d5b3cf562c7081bfacb05d1e4cd.tar.gz
treewide: relax allow >=40 chars for git OID
This will help with eventual git SHA-256 transitions.
Diffstat (limited to 'lib/PublicInbox/WWW.pm')
-rw-r--r--lib/PublicInbox/WWW.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/WWW.pm b/lib/PublicInbox/WWW.pm
index 85abf327..e3b589cb 100644
--- a/lib/PublicInbox/WWW.pm
+++ b/lib/PublicInbox/WWW.pm
@@ -29,7 +29,7 @@ our $INBOX_RE = qr!\A/([\w\-][\w\.\-]*)!;
 our $MID_RE = qr!([^/]+)!;
 our $END_RE = qr!(T/|t/|t\.mbox(?:\.gz)?|t\.atom|raw|)!;
 our $ATTACH_RE = qr!([0-9][0-9\.]*)-($PublicInbox::Hval::FN)!;
-our $OID_RE = qr![a-f0-9]{7,40}!;
+our $OID_RE = qr![a-f0-9]{7,}!;
 
 sub new {
         my ($class, $pi_config) = @_;