mirror of
https://github.com/openvk/openvk
synced 2024-11-11 01:19:53 +03:00
Fix another funny xss thing (not tested sinve since im bisexual 💀)
This commit is contained in:
parent
cf558d57c5
commit
cee1b4c8c1
1 changed files with 2 additions and 1 deletions
|
@ -16,7 +16,8 @@ function _bsdnToHumanTime(time) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function _bsdnTpl(name, author) {
|
function _bsdnTpl(name, author) {
|
||||||
name = escapeHtml(name);
|
name = escapeHtml(name);
|
||||||
|
author = escapeHtml(author);
|
||||||
|
|
||||||
return `
|
return `
|
||||||
<div class="bsdn_contextMenu" style="display: none;">
|
<div class="bsdn_contextMenu" style="display: none;">
|
||||||
|
|
Loading…
Reference in a new issue