GH-2716 do not censor values shorter than 4 in logs
This commit is contained in:
parent
0b86a7ebf3
commit
8ee11b1a8e
@ -648,8 +648,7 @@ QMap<QString, QString> MinecraftInstance::createCensorFilterFromSession(AuthSess
|
|||||||
auto i = sessionRef.u.properties.begin();
|
auto i = sessionRef.u.properties.begin();
|
||||||
while (i != sessionRef.u.properties.end())
|
while (i != sessionRef.u.properties.end())
|
||||||
{
|
{
|
||||||
if(i.key() == "preferredLanguage")
|
if(i.value().length() <= 3) {
|
||||||
{
|
|
||||||
++i;
|
++i;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user