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
181d0442
Commit
181d0442
authored
Apr 05, 2002
by
bbaetz%student.usyd.edu.au
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug 134562 - taint error in buglist.cgi
r=justdave, gerv
parent
8c43fccb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
buglist.cgi
buglist.cgi
+6
-2
No files found.
buglist.cgi
View file @
181d0442
...
...
@@ -1226,8 +1226,12 @@ else {
# Add the votes column to the list of columns to be displayed
# in the bug list if the user is searching for bugs with a certain
# number of votes and the votes column is not already on the list.
push
(
@displaycolumns
,
'votes'
)
if
$::FORM
{
'votes'
}
&&
!
grep
(
$_
eq
'votes'
,
@displaycolumns
);
# Some versions of perl will taint 'votes' if this is done as a single
# statement, because $::FORM{'votes'} is tainted at this point
if
(
trim
(
$::FORM
{
'votes'
})
&&
!
grep
(
$_
eq
'votes'
,
@displaycolumns
))
{
push
(
@displaycolumns
,
'votes'
);
}
################################################################################
...
...
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