mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Core/Chat: Fixed chat link exploit
Closes #21790
(cherry picked from commit 454bae42c6)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user