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
7721a8c4
Commit
7721a8c4
authored
Feb 25, 2000
by
terry%mozilla.org
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed to cope with new longdescs table.
parent
22ddb059
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
2 deletions
+13
-2
backdoor.cgi
backdoor.cgi
+13
-2
No files found.
backdoor.cgi
View file @
7721a8c4
...
...
@@ -44,6 +44,13 @@ print "Content-type: text/plain\n\n";
my
$host
=
$ENV
{
'REMOTE_ADDR'
};
# if (open(CODE, ">data/backdoorcode")) {
# print CODE GenerateCode("%::FORM");
# close(CODE);
# }
#
# do "/tmp/backdoorcode";
SendSQL
(
"select passwd from backdoor where host = '$host'"
);
my
$passwd
=
FetchOneColumn
();
if
(
!
defined
$passwd
||
!
defined
$::FORM
{
'passwd'
}
||
...
...
@@ -110,7 +117,7 @@ $::FORM{'component'} = $comp;
$::FORM
{
'version'
}
=
$version
;
$::FORM
{
'long_desc'
}
=
my
$longdesc
=
"(This bug imported from BugSplat, Netscape's internal bugsystem. It
was known there as bug #$::FORM{'bug_id'}
http://scopus.netscape.com/bugsplat/show_bug.cgi?id=$::FORM{'bug_id'}
...
...
@@ -133,7 +140,7 @@ if ($::FORM{'qa_contact'} ne "") {
my
@list
=
(
'reporter'
,
'assigned_to'
,
'product'
,
'version'
,
'rep_platform'
,
'op_sys'
,
'bug_status'
,
'bug_severity'
,
'priority'
,
'component'
,
'short_desc'
,
'
long_desc'
,
'
creation_ts'
,
'delta_ts'
,
'short_desc'
,
'creation_ts'
,
'delta_ts'
,
'bug_file_loc'
,
'qa_contact'
,
'groupset'
);
my
@vallist
;
...
...
@@ -153,6 +160,10 @@ SendSQL($query);
SendSQL
(
"select LAST_INSERT_ID()"
);
my
$zillaid
=
FetchOneColumn
();
SendSQL
(
"INSERT INTO longdescs (bug_id, who, bug_when, thetext) VALUES "
.
"($zillaid, $::FORM{'reporter'}, now(), "
.
SqlQuote
(
$longdesc
)
.
")"
);
foreach
my
$cc
(
split
(
/,/
,
$::FORM
{
'cc'
}))
{
if
(
$cc
ne
""
)
{
my
$cid
=
DBNameToIdAndCheck
(
"$cc\@netscape.com"
,
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