mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-24 17:29:28 +01:00
Relax check for valid command name in access_persmissions
This commit is contained in:
parent
338d27b45b
commit
6ac8f6eaee
@ -506,7 +506,7 @@ is_valid_command_name2(<<>>) ->
|
||||
true;
|
||||
is_valid_command_name2(<<K:8, Rest/binary>>) when (K >= $a andalso K =< $z)
|
||||
orelse (K >= $0 andalso K =< $9)
|
||||
orelse K == $_ ->
|
||||
orelse K == $_ orelse K == $- ->
|
||||
is_valid_command_name2(Rest);
|
||||
is_valid_command_name2(_) ->
|
||||
false.
|
||||
|
Loading…
Reference in New Issue
Block a user