Disallow GET requests.
This commit is contained in:
parent
395a58f180
commit
dbd8ba9a85
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/www/; revision=9382
1 changed files with 2 additions and 1 deletions
|
@ -8,7 +8,7 @@
|
||||||
# GNU General Public License Version 2.
|
# GNU General Public License Version 2.
|
||||||
# (http://www.gnu.ai.mit.edu/copyleft/gpl.html)
|
# (http://www.gnu.ai.mit.edu/copyleft/gpl.html)
|
||||||
#
|
#
|
||||||
# $FreeBSD: www/en/cgi/dosendpr.cgi,v 1.3 2000/11/29 13:39:37 wosch Exp $
|
# $FreeBSD: www/en/cgi/dosendpr.cgi,v 1.4 2000/11/29 13:48:17 wosch Exp $
|
||||||
|
|
||||||
require "html.pl";
|
require "html.pl";
|
||||||
|
|
||||||
|
@ -31,6 +31,7 @@ if ($gndb =~ /^[a-z]+$/ && -e "$gndb.def")
|
||||||
else
|
else
|
||||||
{ &prerror("gndb problem"); }
|
{ &prerror("gndb problem"); }
|
||||||
|
|
||||||
|
&prerror("request method problem") if $ENV{'REQUEST_METHOD'} eq 'GET';
|
||||||
|
|
||||||
# Configuration
|
# Configuration
|
||||||
if ($gnhow eq "mail")
|
if ($gnhow eq "mail")
|
||||||
|
|
Loading…
Reference in a new issue