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
38771ca6
Commit
38771ca6
authored
May 06, 1999
by
terry%mozilla.org
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Sigh. Fix some indentation I just screwed up.
parent
7ffbdb6c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
14 deletions
+14
-14
enter_bug.cgi
enter_bug.cgi
+14
-14
No files found.
enter_bug.cgi
View file @
38771ca6
...
...
@@ -84,16 +84,16 @@ sub pickplatform {
return
$value
;
}
if
(
Param
(
'usebrowserinfo'
)
)
{
for
(
$ENV
{
'HTTP_USER_AGENT'
})
{
/Mozilla.*\(Windows/
&&
do
{
return
"PC"
;};
/Mozilla.*\(Macintosh/
&&
do
{
return
"Macintosh"
;};
/Mozilla.*\(Win/
&&
do
{
return
"PC"
;};
/Mozilla.*Linux.*86/
&&
do
{
return
"PC"
;};
/Mozilla.*Linux.*alpha/
&&
do
{
return
"DEC"
;};
/Mozilla.*OSF/
&&
do
{
return
"DEC"
;};
/Mozilla.*HP-UX/
&&
do
{
return
"HP"
;};
/Mozilla.*IRIX/
&&
do
{
return
"SGI"
;};
/Mozilla.*(SunOS|Solaris)/
&&
do
{
return
"Sun"
;};
for
(
$ENV
{
'HTTP_USER_AGENT'
})
{
/Mozilla.*\(Windows/
&&
do
{
return
"PC"
;};
/Mozilla.*\(Macintosh/
&&
do
{
return
"Macintosh"
;};
/Mozilla.*\(Win/
&&
do
{
return
"PC"
;};
/Mozilla.*Linux.*86/
&&
do
{
return
"PC"
;};
/Mozilla.*Linux.*alpha/
&&
do
{
return
"DEC"
;};
/Mozilla.*OSF/
&&
do
{
return
"DEC"
;};
/Mozilla.*HP-UX/
&&
do
{
return
"HP"
;};
/Mozilla.*IRIX/
&&
do
{
return
"SGI"
;};
/Mozilla.*(SunOS|Solaris)/
&&
do
{
return
"Sun"
;};
}
}
# default
...
...
@@ -106,10 +106,10 @@ sub pickversion {
my
$version
=
formvalue
(
'version'
);
if
(
Param
(
'usebrowserinfo'
)
)
{
if
(
$version
eq
""
)
{
if
(
$ENV
{
'HTTP_USER_AGENT'
}
=~
m@Mozilla[ /]([^ ]*)@
)
{
$version
=
$1
;
}
if
(
$version
eq
""
)
{
if
(
$ENV
{
'HTTP_USER_AGENT'
}
=~
m@Mozilla[ /]([^ ]*)@
)
{
$version
=
$1
;
}
}
}
...
...
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