Skip to content

Commit

Permalink
dots and dashes are allowed
Browse files Browse the repository at this point in the history
  • Loading branch information
alandekok committed Apr 6, 2020
1 parent 7b48c8e commit f2b8044
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/unlang/xlat_tokenize.c
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ static inline ssize_t xlat_tokenize_function(TALLOC_CTX *ctx, xlat_exp_t **head,
* Special characters, spaces, etc. cannot be
* module names.
*/
if (*q < '0') return 0;
if ((*q < '0') && (*q != '.') && (*q != '-')) return 0;
}

if (q >= end) return 0;
Expand Down

0 comments on commit f2b8044

Please sign in to comment.