Skip to content

Commit

Permalink
[Http] Quote the url passed tu curl
Browse files Browse the repository at this point in the history
Closes #15
  • Loading branch information
fabiopelosin committed Apr 15, 2014
1 parent a66c45e commit e168a1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cocoapods-downloader/http.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit e168a1b

Please sign in to comment.