From: Chengwei Yang Date: Sat, 29 Jun 2013 04:21:27 +0000 (+0800) Subject: Test: add a test case for escaping byte > 127 X-Git-Tag: dbus-1.6.14~9 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cef5a419f4a8f00c6cc0b57d5a01ac347fff9598;p=thirdparty%2Fdbus.git 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 --- diff --git a/dbus/dbus-address.c b/dbus/dbus-address.c index f3d48d0a0..6506d213d 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[] = {