debug() send_uptime() urcapture is_safepath

This commit is contained in:
joonicks
2018-03-14 03:02:30 +01:00
parent 2d7d789621
commit fb70029b56
29 changed files with 575 additions and 164 deletions

View File

@@ -130,7 +130,7 @@ void do_greet(COMMAND_ARGS)
{
if (isfile)
{
if (!is_safepath(rest))
if (is_safepath(rest,FILE_MUST_EXIST) != FILE_IS_SAFE)
goto usage;
}