Changeset 600


Ignore:
Timestamp:
03/25/14 14:57:58 (11 years ago)
Author:
Kris Deugau
Message:

/trunk

Allow wildcard records through the hostname form checking

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/DNSDB.pm

    r599 r600  
    13171317    }
    13181318  } else {
    1319     if (lc($hname) !~ /^(?:[0-9a-z_.-]+|@)$/) {
     1319    if (lc($hname) !~ /^(?:\*\.)?(?:[0-9a-z_.-]+|@)$/) {
    13201320      # Don't mention @, because it would be far too wordy to explain the nuance of @
    13211321      $errstr = "Hostnames may not contain anything other than (0-9 a-z . _)";
Note: See TracChangeset for help on using the changeset viewer.