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
d5309264
Commit
d5309264
authored
Apr 02, 2004
by
kiko%async.com.br
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for bug 238868: remove %FORM and %COOKIE from show_bug.cgi. Does
that, swapping them for calls to cgi->param/cookie. r=vladd,justdave; a=justdave.
parent
db31bf41
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
show_bug.cgi
show_bug.cgi
+5
-4
No files found.
show_bug.cgi
View file @
d5309264
...
...
@@ -35,7 +35,7 @@ use Bugzilla::Bug;
my
$cgi
=
Bugzilla
->
cgi
;
if
(
$
::FORM
{
'GoAheadAndLogIn'
}
)
{
if
(
$
cgi
->
param
(
'GoAheadAndLogIn'
)
)
{
Bugzilla
->
login
(
LOGIN_REQUIRED
);
}
else
{
Bugzilla
->
login
();
...
...
@@ -53,7 +53,8 @@ if (!defined $cgi->param('id') && $single) {
exit
;
}
my
$format
=
GetFormat
(
"bug/show"
,
$::FORM
{
'format'
},
$::FORM
{
'ctype'
});
my
$format
=
GetFormat
(
"bug/show"
,
scalar
$cgi
->
param
(
'format'
),
scalar
$cgi
->
param
(
'ctype'
));
GetVersionTable
();
...
...
@@ -82,8 +83,8 @@ $vars->{'bugs'} = \@bugs;
# Next bug in list (if there is one)
my
@bug_list
;
if
(
$
::COOKIE
{
"BUGLIST"
}
)
{
@bug_list
=
split
(
/:/
,
$
::COOKIE
{
"BUGLIST"
}
);
if
(
$
cgi
->
cookie
(
"BUGLIST"
)
)
{
@bug_list
=
split
(
/:/
,
$
cgi
->
cookie
(
"BUGLIST"
)
);
}
$vars
->
{
'bug_list'
}
=
\
@bug_list
;
...
...
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