That should do it.
Just commited
CS file: /usr/cvsroot/FreeIPdb/admin.cgi,v
retrieving revision 1.15
diff -c -r1.15 admin.cgi
*** admin.cgi 2002/04/08 19:17:15 1.15
--- admin.cgi 2002/04/16 21:37:08
***************
*** 39,54 ****
my $exit;
#Get Variable Space
! read(STDIN,$buffer,$ENV{'CONTENT_LENGTH'});
! @pairs = split(/&/,$buffer);
! foreach $pair (@pairs){
! ($name,$value) = split(/=/,$pair);
! $name =~ tr/+/ /;
! $value =~ tr/+/ /;
! $value =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack("C", hex($1))/eg;
! $FORM{$name} = $value;
}
! $FORM{NULL} = "NULL";
if($FORM{'FORM'} =~ /IMPORT/){
print "Importing IP Blocks<BR>\n";
--- 39,58 ----
my $exit;
#Get Variable Space
! if($ENV{'CONTENT_LENGTH'}){
! read(STDIN,$buffer,$ENV{'CONTENT_LENGTH'});
! @pairs = split(/&/,$buffer);
! foreach $pair (@pairs){
! ($name,$value) = split(/=/,$pair);
! $name =~ tr/+/ /;
! $value =~ tr/+/ /;
! $value =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack("C", hex($1))/eg;
! $FORM{$name} = $value;
! }
! } else {
! $FORM{'FORM'} = "NULL";
}
!
if($FORM{'FORM'} =~ /IMPORT/){
print "Importing IP Blocks<BR>\n";
On Tue, Apr 16, 2002 at 04:47:28PM -0400, Aaron Dudek wrote:
>
> Anyone know how to get rid of these messages?
> [Fri Apr 12 19:27:15 2002] [error] [client 199.0.13.10] Use of
> uninitialized value in read at admin.cgi line 42., refere
> r: http://starkmad/freeipdb/test.html
> [Fri Apr 12 19:27:15 2002] [error] [client 199.0.13.10] Use of
> uninitialized value in pattern match (m//) at admin.cgi l
> ine 53., referer: http://starkmad/freeipdb/test.html
> [Fri Apr 12 19:27:15 2002] [error] [client 199.0.13.10] Use of
> uninitialized value in pattern match (m//) at admin.cgi l
> ine 70., referer: http://starkmad/freeipdb/test.html
> [Fri Apr 12 19:27:15 2002] [error] [client 199.0.13.10] Use of
> uninitialized value in pattern match (m//) at admin.cgi l
> ine 75., referer: http://starkmad/freeipdb/test.html
> [Fri Apr 12 19:27:15 2002] [error] [client 199.0.13.10] Use of
> uninitialized value in pattern match (m//) at admin.cgi l
> ine 82., referer: http://starkmad/freeipdb/test.html
> [Fri Apr 12 19:27:15 2002] [error] [client 199.0.13.10] Use of
> uninitialized value in pattern match (m//) at admin.cgi l
> ine 92., referer: http://starkmad/freeipdb/test.html
> [Fri Apr 12 19:27:15 2002] [error] [client 199.0.13.10] Use of
> uninitialized value in pattern match (m//) at admin.cgi l
> ine 127., referer: http://starkmad/freeipdb/test.html
> [Fri Apr 12 19:27:15 2002] [error] [client 199.0.13.10] Use of
> uninitialized value in pattern match (m//) at admin.cgi l
> ine 152., referer: http://starkmad/freeipdb/test.html
> [Fri Apr 12 19:27:15 2002] [error] [client 199.0.13.10] Use of
> uninitialized value in pattern match (m//) at admin.cgi l
> ine 159., referer: http://starkmad/freeipdb/test.html
> [Fri Apr 12 19:27:15 2002] [error] [client 199.0.13.10] Use of
> uninitialized value in pattern match (m//) at admin.cgi l
> ine 172., referer: http://starkmad/freeipdb/test.html
> [Fri Apr 12 19:27:15 2002] [error] [client 199.0.13.10] Use of
> uninitialized value in pattern match (m//) at admin.cgi l
> ine 205., referer: http://starkmad/freeipdb/test.html
> [Fri Apr 12 19:27:32 2002] [error] [client 199.0.13.10] Error in admin.cgi
> in main::AddRegion at line 65 RA not found in
> database, referer: http://starkmad/cgi-bin/freeipdb/admin.cgi
> [Fri Apr 12 19:27:32 2002] [error] [client 199.0.13.10] Exiting -1 at
> ipdb_lib.pl line 1030., referer: http://starkmad/c
> gi-bin/freeipdb/admin.cgi
>
>
--
We will lose this war without firing a shot
if we sacrifice the liberties of the American people.
Sen. Russell Feingold, D-Wis.