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 4001596..b501b3a 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;
     }