Changeset 570


Ignore:
Timestamp:
12/30/13 17:23:39 (11 years ago)
Author:
Kris Deugau
Message:

/trunk

Fix buglet that can probably only be exposed when reloading the
database while clicking on links. If you end up on
"/dns.cgi?page=login&sessexpired=1", you can't log in due to the
"login to whatever you clicked on" feature mistaking the login page
for the desired target. *sigh*

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dns.cgi

    r559 r570  
    275275      # and reconstruct the URI argument list.
    276276      my %target = (page => "domlist");
    277       if ($webvar{target} && $webvar{target} =~ /\?/) {
     277      if ($webvar{target} && $webvar{target} =~ /\?/ && $webvar{target} !~ /page=login/) {
    278278        my $tmp = (split /\?/, $webvar{target})[1];
    279279        $tmp =~ s/^\&//;
Note: See TracChangeset for help on using the changeset viewer.