Commit 468adb25 authored by Christophe Mutricy's avatar Christophe Mutricy

vlc_url.h: Username and password passed in the URL can contain encoded @ : and /. So decode them.

parent 02dc669f
...@@ -114,8 +114,9 @@ static inline void vlc_UrlParse( vlc_url_t *url, const char *psz_url, ...@@ -114,8 +114,9 @@ static inline void vlc_UrlParse( vlc_url_t *url, const char *psz_url,
/* We have a password */ /* We have a password */
*psz_parse++ = '\0'; *psz_parse++ = '\0';
url->psz_password = psz_parse; url->psz_password = psz_parse;
decode_URI( url->psz_password );
} }
decode_URI( url->psz_username );
psz_parse = p; psz_parse = p;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment