[vlc-commits] url: test multiple URI request parameters
Rémi Denis-Courmont
git at videolan.org
Sat Oct 15 11:15:29 CEST 2016
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Oct 15 12:13:46 2016 +0300| [bff1eaa96fce0b2405539f9529c0bccfa2bd449b] | committer: Rémi Denis-Courmont
url: test multiple URI request parameters
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=bff1eaa96fce0b2405539f9529c0bccfa2bd449b
---
src/test/url.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/test/url.c b/src/test/url.c
index 7846de5..bc515cf 100644
--- a/src/test/url.c
+++ b/src/test/url.c
@@ -256,6 +256,8 @@ int main (void)
NULL, NULL);
test_url_parse("/file", NULL, NULL, NULL, NULL, 0, "/file", NULL);
test_url_parse("?opt=val", NULL, NULL, NULL, NULL, 0, "", "opt=val");
+ test_url_parse("?o1=v1&o2=v2", NULL, NULL, NULL, NULL, 0, "",
+ "o1=v1&o2=v2");
test_url_parse("/f?o=v", NULL, NULL, NULL, NULL, 0, "/f", "o=v");
test_url_parse("//example.com/file", NULL, NULL, NULL, "example.com", 0,
"/file", NULL);
More information about the vlc-commits
mailing list