- Timestamp:
- 03/10/15 12:26:24 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dnsbl/dnsbl.cgi
r59 r60 99 99 $page->param(dnsblsiteroot => $dnsblsiteroot); 100 100 101 $webvar{ip} =~ s/^\s*//; 102 $webvar{ip} =~ s/\s*$//; 101 103 $page->param(ip => $webvar{ip}); 102 104 my $count = $dnsbl->ipexists($webvar{ip}); … … 123 125 my $err = ''; 124 126 127 $webvar{ip} =~ s/^\s*//; 128 $webvar{ip} =~ s/\s*$//; 129 125 130 # basic algo: for each listing level, add the org and block if not already present. 126 131 # escape the loop if we check a level with no block entered. … … 132 137 my $orgn = "org$i"; 133 138 my $blockn = "block$i"; 139 $webvar{$orgn} =~ s/^\s*//; 140 $webvar{$orgn} =~ s/\s*$//; 141 $webvar{$blockn} =~ s/^\s*//; 142 $webvar{$blockn} =~ s/\s*$//; 134 143 my $orgid = $dnsbl->orgexists($webvar{$orgn}); 135 144 if (!$orgid) {
Note:
See TracChangeset
for help on using the changeset viewer.