Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
tails
tails
Commits
0ef9c499
Commit
0ef9c499
authored
Nov 20, 2017
by
sajolida
Browse files
Use textContent which will sanitize this user input
parent
8e2c1dcb
Changes
1
Hide whitespace changes
Inline
Side-by-side
wiki/src/install/inc/js/dave_2.js
View file @
0ef9c499
...
...
@@ -192,7 +192,7 @@ document.addEventListener("DOMContentLoaded", function() {
function
showVerifyingDownload
(
filename
)
{
hide
(
document
.
getElementById
(
"
verify-download-wrapper
"
));
document
.
getElementById
(
"
filename
"
).
innerHTML
=
filename
;
document
.
getElementById
(
"
filename
"
).
textContent
=
filename
;
show
(
document
.
getElementById
(
"
verifying-download
"
));
}
...
...
sajolida
@sajolida
mentioned in issue
#15133 (closed)
·
May 14, 2020
mentioned in issue
#15133 (closed)
mentioned in issue #15133
Toggle commit list
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment