From: Christophe Mutricy Date: Sat, 19 May 2007 00:15:12 +0000 (+0000) Subject: vlc_url.h: Username and password passed in the URL can contain encoded @ : and /... X-Git-Tag: 0.9.0-test0~7363 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=468adb250bde2b010fa20e24a565d4ff58fe35a5;p=vlc vlc_url.h: Username and password passed in the URL can contain encoded @ : and /. So decode them. --- diff --git a/include/vlc_url.h b/include/vlc_url.h index 4001596763..b501b3ae2d 100644 --- a/include/vlc_url.h +++ b/include/vlc_url.h @@ -114,8 +114,9 @@ static inline void vlc_UrlParse( vlc_url_t *url, const char *psz_url, /* We have a password */ *psz_parse++ = '\0'; url->psz_password = psz_parse; + decode_URI( url->psz_password ); } - + decode_URI( url->psz_username ); psz_parse = p; }