]> git.sesse.net Git - vlc/commitdiff
vlc_url.h: Username and password passed in the URL can contain encoded @ : and /...
authorChristophe Mutricy <xtophe@videolan.org>
Sat, 19 May 2007 00:15:12 +0000 (00:15 +0000)
committerChristophe Mutricy <xtophe@videolan.org>
Sat, 19 May 2007 00:15:12 +0000 (00:15 +0000)
include/vlc_url.h

index 4001596763856aaf11b15d01a5e134f5dd425429..b501b3ae2d355cad01df22229cfbdbd763e07915 100644 (file)
@@ -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;
     }