Configure CGI.pm to disable file uploads by default.
parent
23eb492c60
commit
8e43bc0e0f
|
@ -667,10 +667,11 @@ sub cgi (;$$) { #{{{
|
|||
my $q=shift;
|
||||
my $session=shift;
|
||||
|
||||
eval q{use CGI};
|
||||
error($@) if $@;
|
||||
$CGI::DISABLE_UPLOADS=1;
|
||||
|
||||
if (! $q) {
|
||||
eval q{use CGI};
|
||||
error($@) if $@;
|
||||
|
||||
binmode(STDIN);
|
||||
$q=CGI->new;
|
||||
binmode(STDIN, ":utf8");
|
||||
|
|
|
@ -1,3 +1,9 @@
|
|||
ikiwiki (2.52) UNRELEASED; urgency=low
|
||||
|
||||
* Configure CGI.pm to disable file uploads by default.
|
||||
|
||||
-- Joey Hess <joeyh@debian.org> Mon, 30 Jun 2008 19:56:28 -0400
|
||||
|
||||
ikiwiki (2.51) unstable; urgency=low
|
||||
|
||||
* Improve toplevel parentlink to link directly to index.html when usedirs is
|
||||
|
|
Loading…
Reference in New Issue