diff options
author | timeless%mozdev.org <> | 2003-01-23 15:37:15 +0000 |
---|---|---|
committer | timeless%mozdev.org <> | 2003-01-23 15:37:15 +0000 |
commit | 814dd54078a31cab2a51c99cf22a403d3b91e5c2 (patch) | |
tree | a1d1c4ae58dbc00f296658ec9475011b6c7a7baf /buglist.cgi | |
parent | 2c10f5e22342aa4db674fdad4b0dd68403ce05d2 (diff) | |
download | bugs-814dd54078a31cab2a51c99cf22a403d3b91e5c2.tar bugs-814dd54078a31cab2a51c99cf22a403d3b91e5c2.tar.gz bugs-814dd54078a31cab2a51c99cf22a403d3b91e5c2.tar.bz2 bugs-814dd54078a31cab2a51c99cf22a403d3b91e5c2.tar.xz bugs-814dd54078a31cab2a51c99cf22a403d3b91e5c2.zip |
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-x | buglist.cgi | 13 |
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'} |