Disallow GET requests.

This commit is contained in:
Wolfram Schneider 2001-05-07 19:28:09 +00:00
parent 395a58f180
commit dbd8ba9a85
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/www/; revision=9382

View file

@ -8,7 +8,7 @@
# GNU General Public License Version 2.
# (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";
@ -31,6 +31,7 @@ if ($gndb =~ /^[a-z]+$/ && -e "$gndb.def")
else
{ &prerror("gndb problem"); }
&prerror("request method problem") if $ENV{'REQUEST_METHOD'} eq 'GET';
# Configuration
if ($gnhow eq "mail")