[vlc-commits] url: fix parsing URL with IPv6 numerals
Rémi Denis-Courmont
git at videolan.org
Sun Mar 20 19:54:04 CET 2016
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Mar 20 20:38:24 2016 +0200| [f6c052f499d65b169ef52c12e11cd0bb1ab44b0b] | committer: Rémi Denis-Courmont
url: fix parsing URL with IPv6 numerals
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f6c052f499d65b169ef52c12e11cd0bb1ab44b0b
---
src/text/url.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/text/url.c b/src/text/url.c
index 0a48ad1..27db5e7 100644
--- a/src/text/url.c
+++ b/src/text/url.c
@@ -346,7 +346,7 @@ static bool vlc_uri_component_validate(const char *str, const char *extras)
static bool vlc_uri_host_validate(const char *str)
{
- return vlc_uri_component_validate(str, "");
+ return vlc_uri_component_validate(str, ":");
}
static bool vlc_uri_path_validate(const char *str)
More information about the vlc-commits
mailing list