mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2025-03-04 08:31:36 +00:00
Moving the check under the "do we have the file localy" check prevents spurious "Refusing to download a path with .." messages with some game data. The tank commander skin is one example. This change has no security impact since FS_LoadFile() just opens and closes the file. While at it tighten the condition to prevent pathes with colons (this condition is added at the server side, too) and pathes starting with slashes and dots. |
||
---|---|---|
.. | ||
header | ||
sv_cmd.c | ||
sv_conless.c | ||
sv_entities.c | ||
sv_game.c | ||
sv_init.c | ||
sv_main.c | ||
sv_save.c | ||
sv_send.c | ||
sv_user.c | ||
sv_world.c |