man.cgi: Disable downloading man page archives due to abuse
Hat: clusteradm
This commit is contained in:
parent
ec0670a3d2
commit
fe4651c384
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=53087
1 changed files with 4 additions and 0 deletions
|
|
@ -1184,6 +1184,10 @@ sub get_the_sources {
|
|||
# download a manual directory as gzip'd tar archive
|
||||
sub download {
|
||||
|
||||
# 2019-05-31: allanjude: Disable downloading as it is being abused.
|
||||
print qq{Status: 418 No Downloads For You\n\n};
|
||||
exit(0);
|
||||
|
||||
$| = 1;
|
||||
my $filename = $manpath;
|
||||
$filename =~ s/\s+/_/;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue