Commit efc7c3bd authored by Kevin Lyda's avatar Kevin Lyda 💬 Committed by GitHub

Merge pull request #9 from nekoya/fix-whitelist_and_bare_percent

Check command regardless of the USER_WHITELIST
parents 3e4a539b 2997a3f9
......@@ -707,7 +707,7 @@ class CronLineTimeAction(object):
# User checks.
if self.user in USER_WHITELIST:
return
pass
elif len(self.user) > 31:
log.LineError(log.MSG_INVALID_USER,
'Username too long "%s"' % self.user)
......
# WARN 1 for questionable file name.
# WARN 0 for missing user
1 * * * * not_a_user Command
# WARN 1 for missing user and questionable bare %
1 * * * * not_a_user Command with %
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment