summaryrefslogtreecommitdiffstats
path: root/buglist.cgi
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2006-03-07 07:50:05 +0100
committerlpsolit%gmail.com <>2006-03-07 07:50:05 +0100
commit63e1153fc8d019a196e83a343fad5f13872a5c42 (patch)
tree7905c4b8d0931f46f0e8340a27021e5efd85a19e /buglist.cgi
parent489040c510eb5b69db1efa06256f1ea7eea50a7c (diff)
downloadbugzilla-63e1153fc8d019a196e83a343fad5f13872a5c42.tar.gz
bugzilla-63e1153fc8d019a196e83a343fad5f13872a5c42.tar.xz
Bug 190370: Show "Bugzilla is pondering" page in Mac IE and AOL Client - Patch by Dave Miller <justdave@bugzilla.org> r=wicked a=myk
Diffstat (limited to 'buglist.cgi')
-rwxr-xr-xbuglist.cgi4
1 files changed, 3 insertions, 1 deletions
diff --git a/buglist.cgi b/buglist.cgi
index 4954ac607..c778c5f10 100755
--- a/buglist.cgi
+++ b/buglist.cgi
@@ -132,12 +132,14 @@ my $format = $template->get_format("list/list", scalar $cgi->param('format'),
# 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)
#
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'} !~ /[Cc]ompatible/) || ($ENV{'HTTP_USER_AGENT'} =~ /MSIE 5.*Mac_PowerPC/))
&& $ENV{'HTTP_USER_AGENT'} !~ /WebKit/
&& !defined($cgi->param('serverpush'))
|| $cgi->param('serverpush');