Markus Armbruster
56a8caff92
qapi: Restrict strings to printable ASCII
...
RFC 8259 on string contents:
All Unicode characters may be placed within the quotation marks,
except for the characters that MUST be escaped: quotation mark,
reverse solidus, and the control characters (U+0000 through
U+001F).
The QAPI schema parser accepts both less and more than JSON: it
accepts only ASCII with \u (less), and accepts control characters
other than LF (new line) unescaped. How it treats unescaped non-ASCII
input differs between Python 2 and Python 3.
Make it accept strictly less: require printable ASCII. Drop support
for \b, \f, \n, \r, \t.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20190913201349.24332-7-armbru@redhat.com>
2019-09-24 14:07:22 +02:00
..
2019-03-05 14:43:11 +01:00
2018-12-13 19:20:11 +01:00
2018-12-13 19:20:11 +01:00
2018-12-13 19:20:11 +01:00
2018-12-13 19:20:11 +01:00
2018-12-13 19:20:11 +01:00
2019-02-18 14:44:04 +01:00
2019-02-18 14:44:04 +01:00
2018-12-14 06:52:48 +01:00
2019-02-18 14:44:04 +01:00
2018-12-14 06:52:48 +01:00
2019-06-12 18:34:26 +02:00
2019-02-18 14:44:04 +01:00
2018-12-13 19:20:11 +01:00
2018-12-13 19:20:11 +01:00
2018-12-13 19:20:11 +01:00
2018-12-13 19:20:11 +01:00
2019-09-24 14:07:22 +02:00
2019-09-24 14:07:22 +02:00
2018-12-13 19:20:11 +01:00
2018-12-13 19:20:11 +01:00
2018-12-13 19:20:11 +01:00
2018-12-13 19:20:11 +01:00
2018-12-13 19:20:11 +01:00
2018-12-13 19:20:11 +01:00
2018-12-13 19:20:11 +01:00
2018-12-13 19:20:11 +01:00
2019-02-18 14:44:04 +01:00
2018-12-13 19:20:11 +01:00
2018-12-13 19:20:11 +01:00
2018-12-13 19:20:11 +01:00
2018-12-13 19:20:11 +01:00
2018-12-13 19:20:11 +01:00
2019-06-12 18:35:26 +02:00
2019-06-12 18:35:26 +02:00
2019-06-12 18:35:26 +02:00
2019-06-12 18:35:26 +02:00
2019-06-12 18:35:26 +02:00
2019-06-12 18:35:26 +02:00
2019-06-12 18:35:26 +02:00
2019-06-12 18:35:26 +02:00
2019-06-12 18:35:26 +02:00
2019-06-12 18:35:26 +02:00
2019-06-12 18:35:26 +02:00
2019-06-12 18:35:26 +02:00
2019-06-12 18:35:26 +02:00
2019-06-12 18:35:26 +02:00
2019-06-12 18:35:26 +02:00
2019-06-12 18:35:26 +02:00
2019-06-12 18:35:26 +02:00
2019-06-12 18:35:26 +02:00
2019-06-12 18:35:26 +02:00
2019-06-12 18:35:26 +02:00
2019-06-12 18:35:26 +02:00
2019-06-12 18:35:26 +02:00
2019-06-12 18:35:26 +02:00
2019-06-12 18:35:26 +02:00
2018-12-13 19:20:11 +01:00
2018-12-13 19:20:11 +01:00
2018-12-13 19:20:11 +01:00
2018-12-13 19:20:11 +01:00
2018-12-13 19:20:11 +01:00
2018-12-13 19:20:11 +01:00
2018-12-13 19:20:11 +01:00
2018-12-13 19:20:11 +01:00
2018-12-13 19:20:11 +01:00
2019-02-18 14:44:04 +01:00
2019-02-18 14:44:04 +01:00
2019-02-18 14:44:04 +01:00
2019-02-18 14:44:04 +01:00
2018-12-13 19:20:11 +01:00
2018-12-13 19:20:11 +01:00
2018-12-13 19:20:11 +01:00
2018-12-13 19:20:11 +01:00
2018-12-13 19:20:11 +01:00
2019-09-24 14:07:22 +02:00
2019-09-24 14:07:22 +02:00
2019-09-24 14:07:22 +02:00
2019-09-24 14:07:22 +02:00
2019-09-24 14:07:22 +02:00
2019-09-24 14:07:22 +02:00
2019-09-24 14:07:22 +02:00
2019-09-24 14:07:22 +02:00
2019-09-24 14:07:22 +02:00
2019-09-24 14:07:22 +02:00
2018-12-13 19:20:11 +01:00
2018-12-13 19:20:11 +01:00
2018-12-13 19:20:11 +01:00
2018-12-13 19:20:11 +01:00
2019-03-05 14:43:11 +01:00
2019-06-12 18:35:17 +02:00
2018-12-13 19:20:11 +01:00
2018-12-13 19:20:11 +01:00
2018-12-13 19:20:11 +01:00
2018-12-13 19:20:11 +01:00
2019-06-12 18:34:26 +02:00
2018-12-13 19:20:11 +01:00