[vlc-commits] url: test previous commit

Rémi Denis-Courmont git at videolan.org
Wed Oct 19 14:56:12 CEST 2016


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Oct 19 15:54:04 2016 +0300| [bc3ab6800a870ff732a8ecb2b6616c40acf1c44c] | committer: Rémi Denis-Courmont

url: test previous commit

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=bc3ab6800a870ff732a8ecb2b6616c40acf1c44c
---

 src/test/url.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/test/url.c b/src/test/url.c
index fe72e94..0f7f3e0 100644
--- a/src/test/url.c
+++ b/src/test/url.c
@@ -263,6 +263,10 @@ int main (void)
     test_url_parse("p://u:p@h:123?o=v", "p", "u", "p", "h", 123, NULL, "o=v");
     test_url_parse("p://caf\xc3\xa9.example.com", "p", NULL, NULL,
                    "xn--caf-dma.example.com", 0, NULL, NULL);
+    test_url_parse("p://caf%C3%A9.example.com", "p", NULL, NULL,
+                   "xn--caf-dma.example.com", 0, NULL, NULL);
+    test_url_parse("p://www.example.com/caf\xc3\xa9/", "p", NULL, NULL,
+                   "www.example.com", 0, "/caf%C3%A9/", NULL);
     test_url_parse("p://h/white%20spaced", "p", NULL, NULL, "h", 0,
                    "/white%20spaced", NULL);
     /* Relative URIs */



More information about the vlc-commits mailing list