diff options
author | lpsolit%gmail.com <> | 2009-05-22 10:27:04 +0200 |
---|---|---|
committer | lpsolit%gmail.com <> | 2009-05-22 10:27:04 +0200 |
commit | 056f404988e4070113bccfcbf1d82530112a6602 (patch) | |
tree | 008ecd64a3ce3767c2e10842552602f0a2bce448 /buglist.cgi | |
parent | 5c8a0d34a1cc70ff31f11c7904b718d8784c616d (diff) | |
download | bugzilla-056f404988e4070113bccfcbf1d82530112a6602.tar.gz bugzilla-056f404988e4070113bccfcbf1d82530112a6602.tar.xz |
Back out bug 441496: it breaks Safari and Google Chrome
Diffstat (limited to 'buglist.cgi')
-rwxr-xr-x | buglist.cgi | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/buglist.cgi b/buglist.cgi index e2a468ea2..2cf7a0136 100755 --- a/buglist.cgi +++ b/buglist.cgi @@ -149,20 +149,17 @@ my $format = $template->get_format("list/list", scalar $cgi->param('format'), # to the URL. # # Server push is a Netscape 3+ hack incompatible with MSIE, Lynx, and others. -# Safari 2.0.2 (Webkit 416.11) and above support it. +# 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) # -my $webkitversion = ""; -if ($ENV{'HTTP_USER_AGENT'} =~ /WebKit\/(\d+)/) { - $webkitversion = $1; -} - my $serverpush = $format->{'extension'} eq "html" && exists $ENV{'HTTP_USER_AGENT'} && $ENV{'HTTP_USER_AGENT'} =~ /Mozilla.[3-9]/ && (($ENV{'HTTP_USER_AGENT'} !~ /[Cc]ompatible/) || ($ENV{'HTTP_USER_AGENT'} =~ /MSIE 5.*Mac_PowerPC/)) - && (!$webkitversion || $webkitversion >= 416) + && $ENV{'HTTP_USER_AGENT'} !~ /WebKit/ && !$agent && !defined($cgi->param('serverpush')) || $cgi->param('serverpush'); |