summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDan Winship <danw@gnome.org>2012-07-27 15:52:03 -0400
committerStef Walter <stefw@gnome.org>2012-07-28 10:48:29 +0200
commit76180db6b326f8c87aef5b3eded9463432ce8d82 (patch)
tree9c4e77c13f7089a5a5a6d39bf5bbef2ee4a1bfdf /tests
parentc6fc7b3ac4c6d4595f17989cff220d6d6dafe620 (diff)
Always encode the "id" attribute in URIs
Per recommendation of the spec. https://bugs.freedesktop.org/show_bug.cgi?id=52606
Diffstat (limited to 'tests')
-rw-r--r--tests/uri-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/uri-test.c b/tests/uri-test.c
index 16480f6..4780e4e 100644
--- a/tests/uri-test.c
+++ b/tests/uri-test.c
@@ -510,7 +510,7 @@ test_uri_build_with_attributes (CuTest *tc)
CuAssertTrue (tc, strstr (string, "object=The%20Label") != NULL);
CuAssertTrue (tc, strstr (string, "object-type=data") != NULL);
- CuAssertTrue (tc, strstr (string, "id=HELLO") != NULL);
+ CuAssertTrue (tc, strstr (string, "id=%48%45%4c%4c%4f") != NULL);
free (string);
p11_kit_uri_free (uri);