Changeset 45 for trunk


Ignore:
Timestamp:
12/08/14 17:37:23 (10 years ago)
Author:
Kris Deugau
Message:

/trunk/dnsbl

Make sure to trim whitepace off submitted IP before processing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dnsbl/dnsbl.cgi

    r40 r45  
    2525use CGI::Simple;
    2626use HTML::Template;
     27
    2728use DNSBL;
    2829
     
    9192  $dnsblsiteroot =~ s|/dnsbl\.cgi\?.+|/|;
    9293  $page->param(dnsblsiteroot => $dnsblsiteroot);
    93 
    94   $webvar{ip} =~ s/^\s*(\d+\.\d+\.\d+\.\d+)\s*/$1/;
    9594
    9695  $page->param(ip => $webvar{ip});
Note: See TracChangeset for help on using the changeset viewer.