Fixup: remove experimental shorthash URL format

This commit is contained in:
Yorhel 2021-12-16 13:51:10 +01:00
parent d19c56f285
commit f57c474932

View file

@ -824,7 +824,6 @@ TUWF::get qr{/man/([^/]+)/(.+)} => sub {
$sysid = $sysid ? [$sysid->{id}] : [ map sysbyshort->{$_}{id}, grep /^\Q$sys\E-/, keys sysbyshort->%* ];
return tuwf->resNotFound if !@$sysid;
my $shorthash = $path =~ s{/([a-fA-F0-9]{8})$}{} ? $1 : undef;
my $man;
if($path !~ m{/}) { # (1)
($man) = man_pref_name $path, sql 's.id IN', $sysid;