diff options
author | Christian Hesse <mail@eworm.de> | 2024-05-24 20:00:03 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2024-05-24 20:30:55 +0200 |
commit | d6648563267a3c807a3b99f14881767b6e9826f0 (patch) | |
tree | 3b7746a13b1240585092c6282de482a1ea7e0369 /doc/telegram-chat.d/01-chat-specific.avif | |
parent | 96ea39b7cdb48fe183f05530933099d2691ec228 (diff) |
telegram-chat: convert the message (command) to string
RouterOS 7.15beta4 fixed a bug in JSON parser:
*) console - do not convert string to array in ":deserialize" command;
Before that change commands with a comma caused very crazy issues. Let's
convert the message to a string. This does not give exactly the expected
result, but mitigates telegram-chat to explode.
A command like...
/ip/address/print proplist=address,network;
... is converted to...
/ip/address/print proplist=address;network;
... and results in:
Columns: ADDRESS
# ADDRESS
0 10.0.0.1/24
1 127.0.0.1/8
bad command name network (line 1 column 36)
Diffstat (limited to 'doc/telegram-chat.d/01-chat-specific.avif')
0 files changed, 0 insertions, 0 deletions