tg_cli: don't allow $ as delimiter.
This commit is contained in:
parent
799e6010b4
commit
f86cd1aaa0
@ -458,7 +458,7 @@ class CliClient final : public Actor {
|
||||
static char get_delimiter(Slice str) {
|
||||
FlatHashSet<char> chars;
|
||||
for (auto c : trim(str)) {
|
||||
if (!is_alnum(c) && c != '_' && c != '-' && c != '@' && c != '.' && c != '/' && c != '\0' &&
|
||||
if (!is_alnum(c) && c != '_' && c != '-' && c != '@' && c != '.' && c != '/' && c != '\0' && c != '$' &&
|
||||
static_cast<uint8>(c) <= 127) {
|
||||
chars.insert(c);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user