summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChengwei Yang <chengwei.yang@intel.com>2013-06-29 12:21:27 +0800
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2013-07-01 12:11:39 +0100
commitcef5a419f4a8f00c6cc0b57d5a01ac347fff9598 (patch)
treee18bc60c91ccce09e62bdf3d8b96d089a5127849
parent32e5cab56a6707cf897f918999720ff7e455255e (diff)
downloaddbus-cef5a419f4a8f00c6cc0b57d5a01ac347fff9598.tar.gz
Test: add a test case for escaping byte > 127
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>
-rw-r--r--dbus/dbus-address.c4
1 files changed, 3 insertions, 1 deletions
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[] = {