Changeset 738 for trunk


Ignore:
Timestamp:
08/25/16 16:39:00 (8 years ago)
Author:
Kris Deugau
Message:

/trunk

Fix lurking microbug in the domain list letter search; if you managed
to get in such that you were just at the bare root URL http://example.com/path/
instead of http://example.com/path/dns.cgi, $uri_self got lightly mangled,
and so the letter search links didn't get the proper "whereami" base URL.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dns.cgi

    r737 r738  
    138138# @#$%@%@#% XHTML - & in a URL must be escaped.  >:(
    139139my $uri_self = $ENV{REQUEST_URI};
     140$uri_self = "/dns.cgi" if !$uri_self || $uri_self eq '/';
    140141$uri_self =~ s/\&([a-z])/\&amp\;$1/g;
    141142
Note: See TracChangeset for help on using the changeset viewer.