Changeset 440 for trunk


Ignore:
Timestamp:
11/15/12 11:29:54 (12 years ago)
Author:
Kris Deugau
Message:

/trunk

Fix minor annoyance in plaintext record list; don't add a . to TXT record values

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/textrecs.cgi

    r420 r440  
    9090foreach my $rec (@$reclist) {
    9191  $rec->{type} = $typemap{$rec->{type}};
    92   $rec->{val} .= '.' if $rec->{type} ne 'A' && $webvar{revrec} eq 'n' && $rec->{val} !~ /\.$/;
     92  $rec->{val} .= '.' if $rec->{type} ne 'A' && $rec->{type} ne 'TXT' && $webvar{revrec} eq 'n' && $rec->{val} !~ /\.$/;
    9393  $rec->{host} .= '.' if $webvar{revrec} eq 'y' && $rec->{val} !~ /\.$/;
    9494  $rec->{val} = "$rec->{distance}  $rec->{val}" if $rec->{type} eq 'MX';
Note: See TracChangeset for help on using the changeset viewer.