Changeset 619


Ignore:
Timestamp:
04/25/14 17:05:06 (11 years ago)
Author:
Kris Deugau
Message:

/trunk

Fix _check_hostname_form() to accept *.<stuff> on reverse records too

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/DNSDB.pm

    r618 r619  
    14521452    # Reverse zones don't support @ in hostnames
    14531453    # Also skip failure on revzone TXT records;  the hostname contains the TXT content in that case.
    1454     if ($rectype != $reverse_typemap{TXT} && lc($hname) !~ /^[0-9a-z_.-]+$/) {
     1454    if ($rectype != $reverse_typemap{TXT} && lc($hname) !~ /^(?:\*\.)?[0-9a-z_.-]+$/) {
    14551455      $errstr = "Hostnames may not contain anything other than (0-9 a-z . _)";
    14561456      return;
Note: See TracChangeset for help on using the changeset viewer.