beyond-all-reason / BYAR-Chobby

Currently used legacy lobby for BAR, for the new lobby development see https://github.com/beyond-all-reason/bar-lobby
57 stars 68 forks source link

Safety fix for replays with mangled file names #524

Closed AntlerForce closed 9 months ago

AntlerForce commented 9 months ago

See https://github.com/ZeroK-RTS/Chobby/pull/873#issuecomment-1837001487 and https://github.com/ZeroK-RTS/Chobby/commit/cb2e20672cfb12df42f5f31fb77fef86ec611fce

I tested and the mentioned "empty replay list" doesn't happen in BAR Chobby when a replay filename is missing data, but this is safer code and should prevent replays with changed filenames creating problems in other components.