diff options
author | Yuchen Zeng <zyc@google.com> | 2017-02-15 14:00:01 -0800 |
---|---|---|
committer | Yuchen Zeng <zyc@google.com> | 2017-02-22 16:25:52 -0800 |
commit | aa76d3d3b642304ba05026593fc8b9cf8b49e072 (patch) | |
tree | 889025a5798b4007f85198f6c5e66e756dc37db1 /test/core/client_channel | |
parent | dfa88e95c5584ccce7c339e704ac5c1ad3bfb894 (diff) |
Enclose sin6_scope_id in uri
Diffstat (limited to 'test/core/client_channel')
-rw-r--r-- | test/core/client_channel/uri_parser_test.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/core/client_channel/uri_parser_test.c b/test/core/client_channel/uri_parser_test.c index 5f32d3270c..489e4ecd51 100644 --- a/test/core/client_channel/uri_parser_test.c +++ b/test/core/client_channel/uri_parser_test.c @@ -142,6 +142,8 @@ int main(int argc, char **argv) { test_succeeds("http:?legit#twice", "http", "", "", "legit", "twice"); test_succeeds("http://foo?bar#lol?", "http", "foo", "", "bar", "lol?"); test_succeeds("http://foo?bar#lol?/", "http", "foo", "", "bar", "lol?/"); + test_succeeds("ipv6:[2001:db8::1%252]:12345", "ipv6", "", + "[2001:db8::1%2]:12345", "", ""); test_fails("xyz"); test_fails("http:?dangling-pct-%0"); |