Core/Chat: Fixed chat link exploit

Closes #21790

(cherry picked from commit 454bae42c6)
This commit is contained in:
Shauren
2018-04-07 00:06:59 +02:00
parent 1493920495
commit d76db70cbf

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)