Changeset 35


Ignore:
Timestamp:
04/05/11 12:03:47 (14 years ago)
Author:
Kris Deugau
Message:

/trunk/dnsbl

Finally get around to chomping whitespace on reported IP before
doing anything with it

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dnsbl/dnsbl.cgi

    r32 r35  
    7373  $dnsblsiteroot =~ s|/dnsbl\.cgi\?.+|/|;
    7474  $page->param(dnsblsiteroot => $dnsblsiteroot);
     75
     76  $webvar{ip} =~ s/^\s*(\d+\.\d+\.\d+\.\d+)\s*/$1/;
    7577
    7678  $page->param(ip => $webvar{ip});
Note: See TracChangeset for help on using the changeset viewer.