summaryrefslogtreecommitdiffstats
path: root/buglist.cgi
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2012-06-07 23:30:59 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2012-06-07 23:30:59 +0200
commitc0fb7b0a2cbb6076c926c1f4d63bbb295c677d27 (patch)
tree6b02b69c3a0dc589025bd6bf5d3c8dd7b8ade900 /buglist.cgi
parent197d693d71f3831c846324af8f2a36d73c897db5 (diff)
downloadbugzilla-c0fb7b0a2cbb6076c926c1f4d63bbb295c677d27.tar.gz
bugzilla-c0fb7b0a2cbb6076c926c1f4d63bbb295c677d27.tar.xz
Bug 760978: Remove support for Internet Explorer 5 on Mac
r=timello a=LpSolit
Diffstat (limited to 'buglist.cgi')
-rwxr-xr-xbuglist.cgi12
1 files changed, 4 insertions, 8 deletions
diff --git a/buglist.cgi b/buglist.cgi
index 0f9e8176a..94e04ba37 100755
--- a/buglist.cgi
+++ b/buglist.cgi
@@ -104,18 +104,14 @@ my $format = $template->get_format("list/list", scalar $cgi->param('format'),
# the bug list as HTML and they have not disabled it by adding &serverpush=0
# to the URL.
#
-# Server push is a Netscape 3+ hack incompatible with MSIE, Lynx, and others.
-# Even Communicator 4.51 has bugs with it, especially during page reload.
-# http://www.browsercaps.org used as source of compatible browsers.
-# Safari (WebKit) does not support it, despite a UA that says otherwise (bug 188712)
-# MSIE 5+ supports it on Mac (but not on Windows) (bug 190370)
-# Opera supports it.
-#
+# Server push is compatible with Gecko-based browsers and Opera, but not with
+# MSIE, Lynx or Safari (bug 441496).
+
my $serverpush =
$format->{'extension'} eq "html"
&& exists $ENV{'HTTP_USER_AGENT'}
&& $ENV{'HTTP_USER_AGENT'} =~ /(Mozilla.[3-9]|Opera)/
- && (($ENV{'HTTP_USER_AGENT'} !~ /[Cc]ompatible/) || ($ENV{'HTTP_USER_AGENT'} =~ /MSIE 5.*Mac_PowerPC/))
+ && $ENV{'HTTP_USER_AGENT'} !~ /compatible/i
&& $ENV{'HTTP_USER_AGENT'} !~ /WebKit/
&& !defined($cgi->param('serverpush'))
|| $cgi->param('serverpush');