john> * on a .tv lookup, if the domain is returned as a "high-profile"
john> domain, the value of {{CGI}} is set to the redirection url defined in
john> OpenSRS.conf. This will make the value of {{CGI}} in the second FORM
john> for "Enter Another Domain Name to Search For" on avail.html return an
john> incorrect value - the user will be trying to search for a new domain
john> through the redirection url not through the url of your
john> reg_system.cgi ... Hard code your template and you should be fine.

A fix for this bug:

--- cgi/reg_system.cgi  2001/02/02 08:19:21     1.4
+++ cgi/reg_system.cgi  2001/02/02 08:56:25
@@ -1088,6 +1088,7 @@
            $HTML{matches}      = $match_string;
            $HTML{domain}       = $domain;
            $HTML{CGI}          = $cgi;
+           $HTML{OrderCGI}     = $cgi;
            $HTML{affiliate_id} = $in{affiliate_id};
 
             createMLDNSHTMLLink (\%HTML);
@@ -1182,6 +1183,7 @@
 
            $HTML{matches}      = $match_string;
            $HTML{must_match_profile} = "1";
+           $HTML{OrderCGI} = $cgi;
            $HTML{CGI} = $cgi;
            $HTML{affiliate_id} = $in{affiliate_id};
            print_form("$path_templates/avail.html",\%HTML);
@@ -1229,7 +1231,7 @@
        my %INFO = ( domain => $domain );
        $INFO{price} = get_price($domain);
 
-       $rHTML->{CGI} = $hr->{ url } . "&domain=$domain";
+       $rHTML->{OrderCGI} = $hr->{ url } . "&domain=$domain";
        $rHTML->{post_lookup} = get_content( $hr->{ template }, \%INFO);
     }
 }
--- templates/reg_system/avail.html     2001/02/02 08:19:21     1.3
+++ templates/reg_system/avail.html     2001/02/02 08:56:25
@@ -4,7 +4,7 @@
 </font></b>
 <BR><BR>
 
-<FORM method="post" ACTION="{{CGI}}" >
+<FORM method="post" ACTION="{{OrderCGI}}" >
 <input type=hidden name=affiliate_id value="{{affiliate_id}}">
 <input type=hidden name=action value="setup_profile">
 <input type=hidden name=encoding_type value="{{encoding_type}}">

Reply via email to