[vlc-devel] [PATCH 5/6] sftp: use vlc_UrlParseFixup

Thomas Guillem thomas at gllm.fr
Tue Dec 5 09:52:28 CET 2017


Refs #18991
---
 modules/access/sftp.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/access/sftp.c b/modules/access/sftp.c
index d8f9845bb5..2655d60d9c 100644
--- a/modules/access/sftp.c
+++ b/modules/access/sftp.c
@@ -251,11 +251,11 @@ static int Open( vlc_object_t* p_this )
 
     p_sys->i_socket = -1;
 
-    vlc_UrlParse( &credential_url, p_access->psz_url );
+    vlc_UrlParseFixup( &credential_url, p_access->psz_url );
     vlc_credential_init( &credential, &credential_url );
 
     /* Parse the URL */
-    vlc_UrlParse( &url, p_access->psz_url );
+    vlc_UrlParseFixup( &url, p_access->psz_url );
     vlc_uri_decode( url.psz_path );
 
     /* Check for some parameters */
-- 
2.11.0



More information about the vlc-devel mailing list