diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/src/acl.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/src/acl.c b/src/src/acl.c index 477b059a5..b8a4b8865 100644 --- a/src/src/acl.c +++ b/src/src/acl.c @@ -3597,6 +3597,12 @@ for (; cb != NULL; cb = cb->next) #endif case ACLC_QUEUE: + if (Ustrchr(arg, '/')) + { + *log_msgptr = string_sprintf( + "Directory separator not permitted in queue name: '%s'", arg); + return ERROR; + } queue_name = string_copy_malloc(arg); break; |