Commit 864e9a12 authored by myk%mozilla.org's avatar myk%mozilla.org

Fix for bug 261273: make column changing work with Sun ONE web server; fix by…

Fix for bug 261273: make column changing work with Sun ONE web server; fix by tmabbott@hbs.edu; r,a=justdave
parent 59bc1d80
......@@ -112,10 +112,13 @@ if (defined $cgi->param('rememberedquery')) {
# If we're running on Microsoft IIS, using cgi->redirect discards
# the Set-Cookie lines -- workaround is to use the old-fashioned
# redirection mechanism. See bug 214466 for details.
if ($ENV{'SERVER_SOFTWARE'} =~ /Microsoft-IIS/) {
if ($ENV{'SERVER_SOFTWARE'} =~ /Microsoft-IIS/
|| $ENV{'SERVER_SOFTWARE'} =~ /Sun ONE Web/)
{
print $cgi->header(-type => "text/html",
-refresh => "0; URL=$vars->{'redirect_url'}");
} else {
}
else {
print $cgi->redirect($vars->{'redirect_url'});
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment