From b9f5f46df9525642d414b55bea67b3d65e00f80d Mon Sep 17 00:00:00 2001 From: Maximilian Mader Date: Thu, 18 Dec 2014 15:58:55 +0100 Subject: [PATCH] Properly encode username in tab menu tabs --- file/js/be.bastelstu.Chat.litcoffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/file/js/be.bastelstu.Chat.litcoffee b/file/js/be.bastelstu.Chat.litcoffee index c404489..b73dbbf 100644 --- a/file/js/be.bastelstu.Chat.litcoffee +++ b/file/js/be.bastelstu.Chat.litcoffee @@ -992,7 +992,7 @@ Open private channel avatar = $ userList.allTime[userID].avatar[16] avatar = $('').wrapInner avatar - avatar.append "#{userList.allTime[userID].username}" + avatar.append "#{WCF.String.escapeHTML userList.allTime[userID].username}" anchor.wrapInner avatar anchor.prepend ''