Changeset 76
- Timestamp:
- 09/09/25 13:32:40 (5 days ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dnsbl/dnsbl.cgi
r73 r76 95 95 $page->param(dnsblsiteroot => $dnsblsiteroot); 96 96 97 $webvar{ip} =~ s/^\s*//; 98 $webvar{ip} =~ s/\s*$//; 97 ($webvar{ip}) = ($webvar{ip} =~ /(\d+\.\d+\.\d+\.\d+)/); 98 # $webvar{ip} =~ s/^\s*//; 99 # $webvar{ip} =~ s/\s*$//; 99 100 $page->param(ip => $webvar{ip}); 100 101 … … 146 147 my $err = ''; 147 148 148 $webvar{ip} =~ s/^\s*//; 149 $webvar{ip} =~ s/\s*$//; 149 ($webvar{ip}) = ($webvar{ip} =~ /(\d+\.\d+\.\d+\.\d+)/); 150 # $webvar{ip} =~ s/^\s*//; 151 # $webvar{ip} =~ s/\s*$//; 150 152 151 153 # basic algo: for each listing level, add the org and block if not already present.
Note:
See TracChangeset
for help on using the changeset viewer.