Core/Chat: Fixed chat link exploit

Closes #21790
This commit is contained in:
Shauren
2018-04-07 00:06:59 +02:00
parent 2a84562dc8
commit 454bae42c6

View File

@@ -584,7 +584,7 @@ bool LinkExtractor::IsValidMessage()
break;
char commandChar;
_iss >> commandChar;
_iss.get(commandChar);
// | in normal messages is escaped by ||
if (commandChar != PIPE_CHAR)