Skip to content

Commit f6c052f

Browse files
author
Rémi Denis-Courmont
committed
url: fix parsing URL with IPv6 numerals
1 parent d3676b5 commit f6c052f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/text/url.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ static bool vlc_uri_component_validate(const char *str, const char *extras)
346346

347347
static bool vlc_uri_host_validate(const char *str)
348348
{
349-
return vlc_uri_component_validate(str, "");
349+
return vlc_uri_component_validate(str, ":");
350350
}
351351

352352
static bool vlc_uri_path_validate(const char *str)

0 commit comments

Comments
 (0)