Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
564e1b0a
Commit
564e1b0a
authored
Jun 03, 2012
by
Matt Selsky
Committed by
Frédéric Buclin
Jun 03, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 297553: Enable serverpush for Opera
r/a=LpSolit
parent
b0c4ab34
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
buglist.cgi
buglist.cgi
+2
-1
No files found.
buglist.cgi
View file @
564e1b0a
...
@@ -109,11 +109,12 @@ my $format = $template->get_format("list/list", scalar $cgi->param('format'),
...
@@ -109,11 +109,12 @@ my $format = $template->get_format("list/list", scalar $cgi->param('format'),
# http://www.browsercaps.org used as source of compatible browsers.
# http://www.browsercaps.org used as source of compatible browsers.
# Safari (WebKit) does not support it, despite a UA that says otherwise (bug 188712)
# 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)
# MSIE 5+ supports it on Mac (but not on Windows) (bug 190370)
# Opera supports it.
#
#
my
$serverpush
=
my
$serverpush
=
$format
->
{
'extension'
}
eq
"html"
$format
->
{
'extension'
}
eq
"html"
&&
exists
$ENV
{
'HTTP_USER_AGENT'
}
&&
exists
$ENV
{
'HTTP_USER_AGENT'
}
&&
$ENV
{
'HTTP_USER_AGENT'
}
=~
/
Mozilla.[3-9]/
&&
$ENV
{
'HTTP_USER_AGENT'
}
=~
/
(Mozilla.[3-9]|Opera)/
&&
((
$ENV
{
'HTTP_USER_AGENT'
}
!~
/[Cc]ompatible/
)
||
(
$ENV
{
'HTTP_USER_AGENT'
}
=~
/MSIE 5.*Mac_PowerPC/
))
&&
((
$ENV
{
'HTTP_USER_AGENT'
}
!~
/[Cc]ompatible/
)
||
(
$ENV
{
'HTTP_USER_AGENT'
}
=~
/MSIE 5.*Mac_PowerPC/
))
&&
$ENV
{
'HTTP_USER_AGENT'
}
!~
/WebKit/
&&
$ENV
{
'HTTP_USER_AGENT'
}
!~
/WebKit/
&&
!
defined
(
$cgi
->
param
(
'serverpush'
))
&&
!
defined
(
$cgi
->
param
(
'serverpush'
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment