Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
I
ISPConfig 3
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ISPConfig
ISPConfig 3
Commits
1caeea6a
Commit
1caeea6a
authored
7 years ago
by
Marius Burkard
Browse files
Options
Downloads
Patches
Plain Diff
- fixed missing htmlentities on formtype SELECT in list entries
parent
7ed34ac5
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!700
Ported XSS vulnerability fixes from stable branch
,
!699
Fixed XSS vulnerabilities
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
interface/lib/classes/listform_actions.inc.php
+1
-1
1 addition, 1 deletion
interface/lib/classes/listform_actions.inc.php
with
1 addition
and
1 deletion
interface/lib/classes/listform_actions.inc.php
+
1
−
1
View file @
1caeea6a
...
...
@@ -180,7 +180,7 @@ class listform_actions {
$rec
[
'_'
.
$key
.
'_'
]
=
(
strtolower
(
$rec
[
$key
])
==
'y'
)
?
'x16/tick_circle.png'
:
'x16/cross_circle.png'
;
}
//* substitute value for select field
$rec
[
$key
]
=
@
$field
[
'value'
][
$rec
[
$key
]];
$rec
[
$key
]
=
$app
->
functions
->
htmlentities
(
@
$field
[
'value'
][
$rec
[
$key
]]
)
;
}
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment