[vlc-devel] commit: FTP path must be decoded - fixes #2982. ( Rémi Denis-Courmont )

git version control git at videolan.org
Mon Jul 20 18:00:54 CEST 2009


vlc | branch: 1.0-bugfix | Rémi Denis-Courmont <remi at remlab.net> | Mon Jul 20 18:50:11 2009 +0300| [1ee213074a208d8a4491a4a5b42a06b92b244be2] | committer: Rémi Denis-Courmont 

FTP path must be decoded - fixes #2982.
(cherry picked from commit 56ddc63ba2541487e2bc0b83bafaea02a829834a)

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1ee213074a208d8a4491a4a5b42a06b92b244be2
---

 modules/access/ftp.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/access/ftp.c b/modules/access/ftp.c
index b3dc2c9..390dec6 100644
--- a/modules/access/ftp.c
+++ b/modules/access/ftp.c
@@ -307,7 +307,7 @@ static int parseURL( vlc_url_t *url, const char *path )
 
     if( url->psz_path && *url->psz_path == '/' )
         url->psz_path++;
-
+    decode_URI( url->psz_path );
     return VLC_SUCCESS;
 }
 




More information about the vlc-devel mailing list