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:08:00 +0200 |
commit | 7ada0ff906d944079d34974506fa3eae8b26315f (patch) | |
tree | ecb5864907a99a033eaa252a8a3cf4fac69c9594 /doc/netwatch-notify.d/notification-02-up.avif | |
parent | 96ea39b7cdb48fe183f05530933099d2691ec228 (diff) |
telegram-chat: convert the message (command) to stringnext
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/netwatch-notify.d/notification-02-up.avif')
0 files changed, 0 insertions, 0 deletions