Core/Chat: Fixed chat link exploit

Closes #21790

(cherry picked from commit 454bae42c6412161a69dc9de2ee4e5edcbd7ee8c)
This commit is contained in:
Shauren
2021-09-24 23:38:11 +02:00
parent 1493920495
commit d76db70cbf
+1 -1
View File
@@ -831,7 +831,7 @@ bool LinkExtractor::IsValidMessage()
break;
char commandChar;
_iss >> commandChar;
_iss.get(commandChar);
// | in normal messages is escaped by ||
if (commandChar != PIPE_CHAR)