TFTrue
TFTrue copied to clipboard
Players with < or > in their name can screw up log uploading
char msg[128];
V_snprintf(msg, sizeof(msg),
"\"%s<%d><%s><%s>\" triggered \"chargeready\"\n",
pInfo->GetName(), pInfo->GetUserID(),
pInfo->GetNetworkIDString(), szTeam);
engine->LogPrint(msg);
pInfo->GetName() does not do any sanitization 😬
Shouldn't this be handled properly by the parser with a correct regex?
What parser? If it's supposed to be getting handled by logstf, it isn't.
Yeah, I would guess that logs.tf is supposed to handle such cases.
🤷
I don't believe this is an issue with the logstf sourcemod plugin