Prevent weird model paths #1020

Merged
merged 1 commit into from Jul 15, 2015

Projects

None yet

2 participants

@thegrb93
Contributor

Should stop gm_spawn from accepting weird paths like models/props_c17/lol/../oildrum001_explosive.mdl
Players can use this to bypass model blacklists that don't do this check.

@robotboy655 robotboy655 merged commit 8a76159 into garrynewman:master Jul 15, 2015
@thegrb93 thegrb93 deleted the thegrb93:model_path_restrict branch Jul 29, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment