From e168a1b5e2f371a4d9f627a0d99fee7c1f8f30ff Mon Sep 17 00:00:00 2001 From: Fabio Pelosin Date: Tue, 15 Apr 2014 16:52:32 +0200 Subject: [PATCH] [Http] Quote the url passed tu curl Closes https://github.com/CocoaPods/cocoapods-downloader/issues/15 --- lib/cocoapods-downloader/http.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cocoapods-downloader/http.rb b/lib/cocoapods-downloader/http.rb index 130d844..7ebabef 100644 --- a/lib/cocoapods-downloader/http.rb +++ b/lib/cocoapods-downloader/http.rb @@ -84,7 +84,7 @@ def filename_with_type(type=:zip) end def download_file(full_filename) - curl! %|-L -o #{full_filename.shellescape} #{url} --create-dirs| + curl! %|-L -o #{full_filename.shellescape} "#{url}" --create-dirs| end def extract_with_type(full_filename, type=:zip)