summaryrefslogtreecommitdiffstats
path: root/buglist.cgi
diff options
context:
space:
mode:
authortimeless%mozdev.org <>2003-01-23 16:37:15 +0100
committertimeless%mozdev.org <>2003-01-23 16:37:15 +0100
commit814dd54078a31cab2a51c99cf22a403d3b91e5c2 (patch)
treea1d1c4ae58dbc00f296658ec9475011b6c7a7baf /buglist.cgi
parent2c10f5e22342aa4db674fdad4b0dd68403ce05d2 (diff)
downloadbugzilla-814dd54078a31cab2a51c99cf22a403d3b91e5c2.tar.gz
bugzilla-814dd54078a31cab2a51c99cf22a403d3b91e5c2.tar.xz
Bug 188712 Apple's Browser Safari does not support server-push
patch by melo@isp.novis.pt r=timeless a=justdave
Diffstat (limited to 'buglist.cgi')
-rwxr-xr-xbuglist.cgi13
1 files changed, 7 insertions, 6 deletions
diff --git a/buglist.cgi b/buglist.cgi
index 5d55f6980..680b836cf 100755
--- a/buglist.cgi
+++ b/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'}