From cee1b4c8c16d7daa54e70fa657569bce097e6978 Mon Sep 17 00:00:00 2001 From: celestora Date: Fri, 10 Feb 2023 08:50:21 +0200 Subject: [PATCH] =?UTF-8?q?Fix=20another=20funny=20xss=20thing=20(not=20te?= =?UTF-8?q?sted=20sinve=20since=20im=20bisexual=20=F0=9F=92=80)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Web/static/js/player.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Web/static/js/player.js b/Web/static/js/player.js index c1ae1919..aa93e0b0 100644 --- a/Web/static/js/player.js +++ b/Web/static/js/player.js @@ -16,7 +16,8 @@ function _bsdnToHumanTime(time) { } function _bsdnTpl(name, author) { - name = escapeHtml(name); + name = escapeHtml(name); + author = escapeHtml(author); return `