From 55544893a3c2a8f3d5cad13d11b3b2af6d69adcf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Wed, 10 Aug 2016 19:25:27 +0200 Subject: [PATCH] GH-1643 do not censor preferredLanguage in logs --- api/logic/minecraft/MinecraftInstance.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/api/logic/minecraft/MinecraftInstance.cpp b/api/logic/minecraft/MinecraftInstance.cpp index b64d9bd2..174ec9be 100644 --- a/api/logic/minecraft/MinecraftInstance.cpp +++ b/api/logic/minecraft/MinecraftInstance.cpp @@ -272,6 +272,11 @@ QMap MinecraftInstance::createCensorFilterFromSession(AuthSess auto i = sessionRef.u.properties.begin(); while (i != sessionRef.u.properties.end()) { + if(i.key() == "preferredLanguage") + { + ++i; + continue; + } addToFilter(i.value(), "<" + i.key().toUpper() + ">"); ++i; }