@@ -218,7 +218,7 @@ int command_matches(cmnd, user_args, path, sudoers_args)
staticchar*c;
/* don't bother with pseudo commands like "validate" */
if(*cmnd!='/')
if(*cmnd!='/'&&*cmnd!='.')
return(FALSE);
/* only need to stat cmnd once since it never changes */
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.