From a6206e664d4603e636a61447fc2594389b885f93 Mon Sep 17 00:00:00 2001 From: Adam Sampson Date: Sat, 20 Jun 2020 17:07:12 +0100 Subject: [PATCH] HTML-escape channel names at the server. --- src/server.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/server.cpp b/src/server.cpp index 7fcae82e..7218ae8a 100755 --- a/src/server.cpp +++ b/src/server.cpp @@ -1333,7 +1333,8 @@ void CServer::CreateAndSendChatTextForAllConChannels ( const int iCurChanID const QString strActualMessageText = "(" + - QTime::currentTime().toString ( "hh:mm:ss AP" ) + ") " + ChanName + + QTime::currentTime().toString ( "hh:mm:ss AP" ) + ") " + + ChanName.toHtmlEscaped() + " " + strChatText;