1
0

Expand log4j mitigiation to cover more cases.

This commit is contained in:
Alexander Harkness 2021-12-10 22:59:50 +00:00
parent 0f8a8de77c
commit 7790ebc63b

View File

@ -366,7 +366,7 @@ void cProtocol_1_8_0::SendChatRaw(const AString & a_MessageRaw, eChatType a_Type
ASSERT(m_State == 3); // In game mode?
// Prevent chat messages that might trigger CVE-2021-44228
if (a_MessageRaw.find("${jndi") != std::string::npos)
if (a_MessageRaw.find("${") != std::string::npos)
{
return;
}