From 4b2274a48e04206956fc3f14e436365dc083c0dc Mon Sep 17 00:00:00 2001 From: "timeless%mozdev.org" Date: Thu, 23 Jan 2003 07:37:15 +0000 Subject: [PATCH] Bug 188712 Apple's Browser Safari does not support server-push patch by melo@isp.novis.pt r=timeless a=justdave git-svn-id: svn://10.0.0.236/trunk@136875 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/webtools/bugzilla/buglist.cgi | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/mozilla/webtools/bugzilla/buglist.cgi b/mozilla/webtools/bugzilla/buglist.cgi index 5d55f698078..680b836cf3b 100755 --- a/mozilla/webtools/bugzilla/buglist.cgi +++ b/mozilla/webtools/bugzilla/buglist.cgi @@ -101,12 +101,13 @@ my $format = GetFormat("list/list", $::FORM{'format'}, $::FORM{'ctype'}); # http://www.browsercaps.org used as source of compatible browsers. # my $serverpush = - exists $ENV{'HTTP_USER_AGENT'} - && $ENV{'HTTP_USER_AGENT'} =~ /Mozilla.[3-9]/ - && $ENV{'HTTP_USER_AGENT'} !~ /[Cc]ompatible/ - && $format->{'extension'} eq "html" - && !defined($::FORM{'serverpush'}) - || $::FORM{'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'} !~ /WebKit/ + && !defined($::FORM{'serverpush'}) + || $::FORM{'serverpush'}; my $order = $::FORM{'order'} || ""; my $order_from_cookie = 0; # True if $order set using $::COOKIE{'LASTORDER'}