Change the .cgi extension to .notcgi so the stupid http server doesn't try to execute it
This commit is contained in:
parent
d85e35d0d5
commit
68d9f1e56e
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ if($size > $MAX_SIZE)
|
||||||
|
|
||||||
my $extension = $filename;
|
my $extension = $filename;
|
||||||
$extension =~ s/.*\.//; # tar.gz sucks with this
|
$extension =~ s/.*\.//; # tar.gz sucks with this
|
||||||
|
$extension = "notcgi" if $extension eq "cgi";
|
||||||
# Get unix time in miliseconds
|
# Get unix time in miliseconds
|
||||||
my $string;
|
my $string;
|
||||||
$string = gettimeofday; # perl, what?
|
$string = gettimeofday; # perl, what?
|
||||||
|
|
Loading…
Add table
Reference in a new issue