]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 190370: Show "Bugzilla is pondering" page in Mac IE and AOL Client - Patch by...
authorlpsolit%gmail.com <>
Tue, 7 Mar 2006 06:50:05 +0000 (06:50 +0000)
committerlpsolit%gmail.com <>
Tue, 7 Mar 2006 06:50:05 +0000 (06:50 +0000)
buglist.cgi

index 4954ac607f45b05248e119c12635c648b8c42985..c778c5f10b3375283cb6ba9d71c6a5974e08eba3 100755 (executable)
@@ -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');