Changeset 371


Ignore:
Timestamp:
08/01/12 13:22:35 (12 years ago)
Author:
Kris Deugau
Message:

/trunk

Fix subtle bug in search/filter that discarded -'s

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dns.cgi

    r370 r371  
    124124$webvar{startwith} =~ s/^(0-9|[a-z]).*/$1/ if $webvar{startwith};
    125125# not much call for chars not allowed in domain names
    126 $webvar{filter} =~ s/[^a-zA-Z0-9_.:@-]//g if $webvar{filter};
     126$webvar{filter} =~ s/[^a-zA-Z0-9_.:\@-]//g if $webvar{filter};
    127127## only set 'y' if box is checked, no other values legal
    128128## however, see https://secure.deepnet.cx/trac/dnsadmin/ticket/31
Note: See TracChangeset for help on using the changeset viewer.