fix(Core): prevent movement exploit (#2410)

This commit is contained in:
Stefano Borzì
2019-11-15 10:03:57 +01:00
committed by Francesco Borzì
parent 685538b01b
commit ab637800e7
6 changed files with 1334 additions and 1340 deletions

View File

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