Skip to content
Snippets Groups Projects
Commit ff0a2522 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont Committed by Jean-Baptiste Kempf
Browse files

url: add test case

parent 721751d4
No related branches found
No related tags found
1 merge request!604url: allow brackets in path part
Pipeline #138143 passed with stage
in 16 minutes and 20 seconds
......@@ -293,6 +293,8 @@ int main (void)
"www.example.com", 0, "/caf%C3%A9/", NULL);
test_url_parse("p://h/white%20spaced", "p", NULL, NULL, "h", 0,
"/white%20spaced", NULL);
test_url_parse("p://h/[hello:world]", "p", NULL, NULL, "h", 0,
"/[hello:world]", NULL);
/* Relative URIs */
test_url_parse("//example.com", NULL, NULL, NULL, "example.com", 0,
NULL, NULL);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment