mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-05-09 17:20:58 +00:00
make the escape attempt notification a developer print
This commit is contained in:
parent
a1fa0b3feb
commit
e0866a5e41
1 changed files with 1 additions and 1 deletions
|
@ -809,7 +809,7 @@ _QFS_FOpenFile (const char *filename, QFile **gzfile,
|
||||||
// make sure they're not trying to do weird stuff with our private files
|
// make sure they're not trying to do weird stuff with our private files
|
||||||
path = QFS_CompressPath (filename);
|
path = QFS_CompressPath (filename);
|
||||||
if (contains_updir(path)) {
|
if (contains_updir(path)) {
|
||||||
Sys_Printf ("FindFile: %s: attempt to escape directory tree!\n", path);
|
Sys_DPrintf ("FindFile: %s: attempt to escape directory tree!\n", path);
|
||||||
goto error;
|
goto error;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue