From 84c9a542541d4504deb8eed38f15fe5a2497b6cc Mon Sep 17 00:00:00 2001 From: Corey Richardson Date: Sun, 11 Nov 2012 10:54:57 -0500 Subject: [PATCH] Escape the repo URI when cloning --- autoload/vundle/installer.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/vundle/installer.vim b/autoload/vundle/installer.vim index 723406a..d78a999 100644 --- a/autoload/vundle/installer.vim +++ b/autoload/vundle/installer.vim @@ -216,7 +216,7 @@ func! s:sync(bang, bundle) abort let get_current_sha = g:shellesc_cd(get_current_sha) let initial_sha = s:system(get_current_sha)[0:15] else - let cmd = 'git clone --recursive '.a:bundle.uri.' '.shellescape(a:bundle.path()) + let cmd = 'git clone --recursive '.shellescape(a:bundle.uri).' '.shellescape(a:bundle.path()) let initial_sha = '' endif