Changeset 597
- Timestamp:
- 03/14/14 18:34:59 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/DNSDB.pm
r596 r597 5224 5224 } # is $val a raw .arpa name? 5225 5225 5226 # not sure this is necessary for revzones. 5227 # # Spaces are evil. 5228 # $val =~ s/^\s+//; 5229 # $val =~ s/\s+$//; 5230 # if ($typemap{$type} ne 'TXT') { 5231 # # Leading or trailng spaces could be legit in TXT records. 5232 # $host =~ s/^\s+//; 5233 # $host =~ s/\s+$//; 5234 # } 5226 # Spaces are evil. 5227 $val =~ s/^\s+//; 5228 $val =~ s/\s+$//; 5229 if ($typemap{$type} ne 'TXT') { 5230 # Leading or trailng spaces could be legit in TXT records. 5231 $host =~ s/^\s+//; 5232 $host =~ s/\s+$//; 5233 } 5235 5234 5236 5235 _printrec_tiny($zonefilehandle, $recid, 'y', \%recflags, $revzone,
Note:
See TracChangeset
for help on using the changeset viewer.