From cef5a419f4a8f00c6cc0b57d5a01ac347fff9598 Mon Sep 17 00:00:00 2001 From: Chengwei Yang Date: Sat, 29 Jun 2013 12:21:27 +0800 Subject: [PATCH] Test: add a test case for escaping byte > 127 Bug: https://bugs.freedesktop.org/show_bug.cgi?id=53499 Signed-off-by: Chengwei Yang Reviewed-by: Simon McVittie --- dbus/dbus-address.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dbus/dbus-address.c b/dbus/dbus-address.c index f3d48d0a..6506d213 100644 --- a/dbus/dbus-address.c +++ b/dbus/dbus-address.c @@ -678,7 +678,9 @@ static const EscapeTest escape_tests[] = { { "Z", "Z" }, { "a", "a" }, { "i", "i" }, - { "z", "z" } + { "z", "z" }, + /* Bug: https://bugs.freedesktop.org/show_bug.cgi?id=53499 */ + { "%c3%b6", "\303\266" } }; static const char* invalid_escaped_values[] = { -- 2.34.1