aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormyk%mozilla.org <>2004-09-24 07:53:26 +0000
committermyk%mozilla.org <>2004-09-24 07:53:26 +0000
commit864e9a127ad2c7b9e8d11e8cc557462e470651f0 (patch)
treeee8a2422030229030d84fbdf4841fefe84921c01 /colchange.cgi
parentBug 261071 Error: Error in parsing value for property 'vertical-align'. Decla... (diff)
downloadbugzilla-864e9a127ad2c7b9e8d11e8cc557462e470651f0.tar.gz
bugzilla-864e9a127ad2c7b9e8d11e8cc557462e470651f0.tar.bz2
bugzilla-864e9a127ad2c7b9e8d11e8cc557462e470651f0.zip
Fix for bug 261273: make column changing work with Sun ONE web server; fix by tmabbott@hbs.edu; r,a=justdave
Diffstat (limited to 'colchange.cgi')
-rwxr-xr-xcolchange.cgi7
1 files changed, 5 insertions, 2 deletions
diff --git a/colchange.cgi b/colchange.cgi
index 03d5388bf..dbaf40eeb 100755
--- a/colchange.cgi
+++ b/colchange.cgi
@@ -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'});
}