]> git.ipfire.org Git - thirdparty/dbus.git/commitdiff
Test: add a test case for escaping byte > 127
authorChengwei Yang <chengwei.yang@intel.com>
Sat, 29 Jun 2013 04:21:27 +0000 (12:21 +0800)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Mon, 1 Jul 2013 11:11:39 +0000 (12:11 +0100)
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=53499
Signed-off-by: Chengwei Yang <chengwei.yang@intel.com>
Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
dbus/dbus-address.c

index f3d48d0a018c301e28dec2d2c6c910ba3d942bce..6506d213d8cd46ef2a9f3a4a02cea9a1c06cf81a 100644 (file)
@@ -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[] = {