Changeset 582 for branches/stable/dns.cgi
- Timestamp:
- 01/02/14 13:26:38 (11 years ago)
- Location:
- branches/stable
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable
-
branches/stable/dns.cgi
r562 r582 275 275 # and reconstruct the URI argument list. 276 276 my %target = (page => "domlist"); 277 if ($webvar{target} && $webvar{target} =~ /\?/ ) {277 if ($webvar{target} && $webvar{target} =~ /\?/ && $webvar{target} !~ /page=login/) { 278 278 my $tmp = (split /\?/, $webvar{target})[1]; 279 279 $tmp =~ s/^\&//; … … 2004 2004 2005 2005 foreach my $rec (@$foo2) { 2006 # NS records. Need to do this first before we convert the type-value to the text representation 2007 if ($rev eq 'y' && $dnsdb->{showrec_arpa_ns} && $rec->{type} == $reverse_typemap{NS}) { 2008 my $tmp = new NetAddr::IP $rec->{val}; 2009 $rec->{val} = DNSDB::_ZONE($tmp, 'ZONE', 'r', '.').($tmp->{isv6} ? '.ip6.arpa' : '.in-addr.arpa'); 2010 } 2006 2011 $rec->{type} = $typemap{$rec->{type}}; 2007 2012 $rec->{fwdzone} = $rev eq 'n';
Note:
See TracChangeset
for help on using the changeset viewer.