diff --git a/src/plugins/trigger/trigger.c b/src/plugins/trigger/trigger.c index ae311f068..b4931c141 100644 --- a/src/plugins/trigger/trigger.c +++ b/src/plugins/trigger/trigger.c @@ -706,6 +706,9 @@ trigger_name_valid (const char *name) /* no spaces allowed */ if (strchr (name, ' ')) return 0; + /* no periods allowed since it is saved via wee_config option name */ + if (strchr (name, '.')) + return 0; /* name is valid */ return 1;