mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2024-11-25 01:24:04 +01:00
Warning fix
This commit is contained in:
parent
7659765116
commit
0cc4a4f128
@ -927,7 +927,7 @@ static void servefile(ws_ctx_t *ws_ctx, const char *in, const char * const user,
|
||||
|
||||
// in case they percent-encoded dots
|
||||
if (strstr(buf, "../")) {
|
||||
handler_msg("Attempted dir traversal attack, rejecting\n", len);
|
||||
handler_msg("Attempted dir traversal attack, rejecting\n");
|
||||
goto nope;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user