From edcdffe03e835ae6578d594ea84e722c520886a2 Mon Sep 17 00:00:00 2001 From: Chengwei Yang Date: Sat, 29 Jun 2013 12:21:27 +0800 Subject: [PATCH 2/2] Test: add a test case for escaping byte > 127 Bug: https://bugs.freedesktop.org/show_bug.cgi?id=53499 Signed-off-by: Chengwei Yang --- 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 4afa4dd..9451b96 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[] = { -- 1.7.9.5