diff options
author | Dan Winship <danw@gnome.org> | 2011-11-12 09:27:33 -0500 |
---|---|---|
committer | Dan Winship <danw@gnome.org> | 2011-11-12 09:27:33 -0500 |
commit | 226f6382496941a4baea6c1c0d22c8d3aed634a1 (patch) | |
tree | ac70c8162e60e2da495ee4227bfcb2f2497be014 /tests/uri-parsing.c | |
parent | 05dff333a7f46eb6644d28a4e15398d347b9a523 (diff) | |
download | libsoup-226f6382496941a4baea6c1c0d22c8d3aed634a1.tar.gz |
soup-uri: %-encode non-ASCII characters when parsing URIs
https://bugzilla.gnome.org/show_bug.cgi?id=662806
Diffstat (limited to 'tests/uri-parsing.c')
-rw-r--r-- | tests/uri-parsing.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/uri-parsing.c b/tests/uri-parsing.c index e8568a96..285b41e0 100644 --- a/tests/uri-parsing.c +++ b/tests/uri-parsing.c @@ -76,7 +76,10 @@ static struct { { "http://host/path%%%", "http://host/path%%%" }, { "http://host/path%/x/", "http://host/path%/x/" }, { "http://host/path%0x/", "http://host/path%0x/" }, - { "http://host/path%ax", "http://host/path%ax" } + { "http://host/path%ax", "http://host/path%ax" }, + + /* Bug 662806; %-encode non-ASCII characters */ + { "http://host/p\xc3\xa4th/", "http://host/p%C3%A4th/" } }; static int num_abs_tests = G_N_ELEMENTS(abs_tests); |