From 454bae42c6412161a69dc9de2ee4e5edcbd7ee8c Mon Sep 17 00:00:00 2001 From: Shauren Date: Sat, 7 Apr 2018 00:06:59 +0200 Subject: Core/Chat: Fixed chat link exploit Closes #21790 --- src/server/game/Chat/ChatLink.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/server/game/Chat/ChatLink.cpp b/src/server/game/Chat/ChatLink.cpp index e669c796011..8cacfdcefac 100644 --- a/src/server/game/Chat/ChatLink.cpp +++ b/src/server/game/Chat/ChatLink.cpp @@ -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) -- cgit v1.2.3