Changeset 669 for trunk


Ignore:
Timestamp:
01/13/15 17:31:00 (9 years ago)
Author:
Kris Deugau
Message:

/trunk

Missing piece from r668; need to actually check the CNAME target for it to
block URL/path components

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/DNSDB.pm

    r668 r669  
    653653    return ('FAIL', "CNAME records cannot point directly to an IP address")
    654654      if ${$args{val}} =~ /^(?:[\d.]+|[0-9a-fA-F:]+)$/;
     655
     656    # Make sure target is a well-formed hostname
     657    return ('FAIL', $errstr) if ! _check_hostname_form(${$args{val}}, ${$args{rectype}}, $args{defrec}, $args{revrec});
    655658
    656659    # Forcibly append the domain name if the hostname being added does not end with the current domain name
Note: See TracChangeset for help on using the changeset viewer.