Rusty Russell
a6d4756d08
commando: make rune alternatives a JSON array.
...
This avoids having to escape | or &, though we still allow that for
the deprecation period.
To detect deprecated usage, we insist that alternatives are *always*
an array (which could be loosened later), but that also means that
restrictions must *always* be an array for now.
Before:
```
# invoice, description either A or B
lightning-cli commando-rune '["method=invoice","pnamedescription=A|pnamedescription=B"]'
# invoice, description literally 'A|B'
lightning-cli commando-rune '["method=invoice","pnamedescription=A\\|B"]'
```
After:
```
# invoice, description either A or B
lightning-cli commando-rune '[["method=invoice"],["pnamedescription=A", "pnamedescription=B"]]'
# invoice, description literally 'A|B'
lightning-cli commando-rune '[["method=invoice"],["pnamedescription=A|B"]]'
```
Changelog-Deprecated: JSON-RPC: `commando-rune` restrictions is always an array, each element an array of alternatives. Replaces a string with `|`-separators, so no escaping necessary except for `\\`.
2022-09-14 17:46:43 +02:00
..
2018-06-18 12:45:00 +02:00
2022-09-14 17:46:43 +02:00
2015-07-18 10:46:53 +09:30
2022-08-22 11:21:59 -04:00
2018-03-04 03:22:32 +01:00
2019-02-18 02:42:29 +00:00
2015-07-18 10:46:53 +09:30
2015-07-18 10:46:53 +09:30
2022-05-14 11:43:46 +09:30
2018-06-08 17:56:48 +02:00
2015-11-20 06:45:19 +10:30
2015-07-18 10:46:53 +09:30
2015-07-18 10:46:53 +09:30
2015-07-18 10:46:53 +09:30
2015-07-18 10:46:53 +09:30
2015-07-18 10:46:53 +09:30
2015-07-18 10:46:53 +09:30
2015-07-20 14:07:25 +09:30
2015-07-20 14:07:25 +09:30
2015-07-20 14:07:25 +09:30
2015-07-20 14:07:25 +09:30
2015-07-18 10:46:53 +09:30
2015-07-18 10:46:53 +09:30
2022-08-22 11:21:19 -04:00
2020-10-21 19:34:39 +02:00
2022-05-18 10:19:16 +09:30
2015-07-18 10:46:53 +09:30
2015-07-18 10:46:53 +09:30
2022-07-28 12:08:18 +09:30
2022-09-08 00:38:06 +03:00
2022-09-12 14:00:41 +02:00
2022-09-12 14:00:41 +02:00
2022-09-12 14:00:41 +02:00
2022-09-12 14:00:41 +02:00
2022-09-12 14:00:41 +02:00
2022-09-12 14:00:41 +02:00
2022-09-12 14:00:41 +02:00
2022-09-12 14:00:41 +02:00
2022-09-12 14:00:41 +02:00
2022-09-12 14:00:41 +02:00
2022-09-08 00:36:51 +03:00
2022-09-12 14:00:41 +02:00
2022-09-14 17:46:43 +02:00
2022-07-17 08:51:02 +09:30
2022-09-12 14:00:41 +02:00
2022-09-12 14:00:41 +02:00
2022-09-12 14:00:41 +02:00
2022-09-12 14:00:41 +02:00
2022-09-12 14:00:41 +02:00
2022-09-12 14:00:41 +02:00
2022-09-12 14:00:41 +02:00
2022-09-12 14:00:41 +02:00
2022-09-12 14:00:41 +02:00
2022-09-14 13:14:10 +02:00
2022-09-12 14:00:41 +02:00
2022-09-12 14:00:41 +02:00
2022-07-14 12:24:48 -05:00
2022-09-12 14:00:41 +02:00
2022-09-12 14:00:41 +02:00
2022-09-12 14:00:41 +02:00
2022-09-12 14:00:41 +02:00
2022-09-12 14:00:41 +02:00
2022-09-12 14:00:41 +02:00
2022-09-12 14:00:41 +02:00
2022-09-12 14:00:41 +02:00
2022-09-12 14:00:41 +02:00
2022-09-12 14:00:41 +02:00
2022-09-12 14:00:41 +02:00
2022-09-12 14:00:41 +02:00
2022-09-08 00:36:51 +03:00
2022-09-12 14:00:41 +02:00
2022-09-12 14:00:41 +02:00
2022-09-12 14:00:41 +02:00
2022-09-12 14:00:41 +02:00
2022-09-12 14:00:41 +02:00
2022-09-12 14:00:41 +02:00
2022-09-12 14:00:41 +02:00
2022-09-12 14:00:41 +02:00
2022-09-12 14:00:41 +02:00
2022-09-12 14:00:41 +02:00
2022-09-14 13:14:10 +02:00
2022-09-12 14:00:41 +02:00
2022-09-14 13:14:10 +02:00
2022-09-12 14:00:41 +02:00
2022-09-12 14:00:41 +02:00
2022-09-12 14:00:41 +02:00
2022-09-12 14:00:41 +02:00
2022-09-12 14:00:41 +02:00
2022-09-12 14:00:41 +02:00
2022-09-12 14:00:41 +02:00
2022-09-12 14:00:41 +02:00
2022-09-12 14:00:41 +02:00
2022-09-12 14:00:41 +02:00
2022-09-12 14:00:41 +02:00
2022-09-12 14:00:41 +02:00
2022-09-12 14:00:41 +02:00
2022-09-12 14:00:41 +02:00
2022-09-12 14:00:41 +02:00
2022-09-12 14:00:41 +02:00
2022-09-12 14:00:41 +02:00
2022-07-14 12:24:48 -05:00
2022-09-12 14:00:41 +02:00
2022-09-12 14:00:41 +02:00
2022-09-12 14:00:41 +02:00
2022-09-12 14:00:41 +02:00
2022-09-12 14:00:41 +02:00
2022-09-14 13:14:10 +02:00
2022-09-12 14:00:41 +02:00
2022-09-12 14:00:41 +02:00
2022-09-12 14:00:41 +02:00
2022-09-12 14:00:41 +02:00
2022-09-12 14:00:41 +02:00
2022-08-19 10:27:09 -04:00
2022-09-12 14:00:41 +02:00
2022-09-12 14:00:41 +02:00
2022-09-12 14:00:41 +02:00
2022-09-12 14:00:41 +02:00
2022-09-12 14:00:41 +02:00
2022-09-12 14:00:41 +02:00
2022-09-12 14:00:41 +02:00
2022-09-12 14:00:41 +02:00
2022-09-12 14:00:41 +02:00
2022-09-14 13:14:10 +02:00
2022-09-12 14:00:41 +02:00
2022-09-08 00:36:51 +03:00
2022-09-08 00:36:51 +03:00
2015-07-20 14:07:40 +09:30
2015-07-20 14:07:40 +09:30
2022-09-08 00:36:51 +03:00
2021-07-30 19:17:47 +02:00
2022-09-12 09:34:52 +09:30
2022-07-21 15:21:12 -05:00
2022-08-22 11:21:19 -04:00
2022-07-12 13:59:46 -05:00
2022-03-01 09:38:40 +10:30