From: justdave%syndicomm.com <> Date: Mon, 15 Dec 2003 14:42:02 +0000 (+0000) Subject: Bug 188712: Safari thinks it's Gecko, but it doesn't support server-push. Look for... X-Git-Tag: bugzilla-2.16.5~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8dadf1cba979104d510d1aca230e890227c60ee2;p=thirdparty%2Fbugzilla.git Bug 188712: Safari thinks it's Gecko, but it doesn't support server-push. Look for it and don't give it server-push. r=timeless, a=justdave --- diff --git a/buglist.cgi b/buglist.cgi index f4cc0e7233..fac70e5c34 100755 --- a/buglist.cgi +++ b/buglist.cgi @@ -101,9 +101,10 @@ 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'}; + && $ENV{'HTTP_USER_AGENT'} !~ /WebKit/ + && $format->{'extension'} eq "html" + && !defined($::FORM{'serverpush'}) + || $::FORM{'serverpush'}; my $order = $::FORM{'order'} || ""; my $order_from_cookie = 0; # True if $order set using $::COOKIE{'LASTORDER'}