mirror of
https://github.com/rehlds/reapi.git
synced 2024-12-28 07:35:31 +03:00
Info_SetValueForStarKey allow a colon in playername
This commit is contained in:
parent
e36a40c3e5
commit
08210bec75
@ -282,7 +282,7 @@ void Info_SetValueForStarKey(char *s, const char *key, const char *value, int ma
|
||||
return;
|
||||
}
|
||||
|
||||
if (Q_strstr(key, "..") || Q_strstr(value, ".."))
|
||||
if (Q_strstr(key, "..") || (Q_strcmp(key, "name") != 0 && Q_strstr(value, "..")))
|
||||
{
|
||||
// TODO: Why silently return?
|
||||
//UTIL_ServerPrint("Can't use keys or values with a ..\n");
|
||||
|
Loading…
Reference in New Issue
Block a user