diff options
author | Markus Armbruster <armbru@redhat.com> | 2019-09-13 22:13:40 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2019-09-24 14:07:22 +0200 |
commit | 9b4416bfc1ea5fb3398e8f78a90caa88dd301c37 (patch) | |
tree | f9f7873635cf4f07f9f55e42d8dbbb34df058778 /tests/qapi-schema/escape-too-big.err | |
parent | 56a8caff922df8d597895a49f55f2150bff3adb7 (diff) |
qapi: Drop support for escape sequences other than \\
Since the previous commit restricted strings to printable ASCII,
\uXXXX's only use is obfuscation. Drop it.
This leaves \\, \/, \', and \". Since QAPI schema strings are all
names, and names are restricted to ASCII letters, digits, hyphen, and
underscore, none of them is useful.
The latter three have no test coverage. Drop them.
Keep \\ to avoid (more) gratuitous incompatibility with JSON.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20190913201349.24332-8-armbru@redhat.com>
Diffstat (limited to 'tests/qapi-schema/escape-too-big.err')
-rw-r--r-- | tests/qapi-schema/escape-too-big.err | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/qapi-schema/escape-too-big.err b/tests/qapi-schema/escape-too-big.err deleted file mode 100644 index d9aeb5dc38..0000000000 --- a/tests/qapi-schema/escape-too-big.err +++ /dev/null @@ -1 +0,0 @@ -tests/qapi-schema/escape-too-big.json:3:14: For now, \u escape only supports non-zero values up to \u007f |