Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion package_control/downloaders/curl_downloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

from ..ca_certs import get_ca_bundle_path
from ..console_write import console_write
from ..sys_path import shortpath
from .cli_downloader import CliDownloader
from .non_clean_exit_error import NonCleanExitError
from .downloader_exception import DownloaderException
Expand Down Expand Up @@ -100,7 +101,7 @@ def download(self, url, error_message, timeout, tries):

secure_url_match = re.match(r'^https://([^/#?]+)', url)
if secure_url_match is not None:
bundle_path = get_ca_bundle_path(self.settings)
bundle_path = shortpath(get_ca_bundle_path(self.settings))
command.extend(['--cacert', bundle_path])

debug = self.settings.get('debug')
Expand Down
3 changes: 2 additions & 1 deletion package_control/downloaders/wget_downloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

from ..ca_certs import get_ca_bundle_path
from ..console_write import console_write
from ..sys_path import shortpath
from .cli_downloader import CliDownloader
from .non_http_error import NonHttpError
from .non_clean_exit_error import NonCleanExitError
Expand Down Expand Up @@ -104,7 +105,7 @@ def download(self, url, error_message, timeout, tries):

secure_url_match = re.match(r'^https://([^/#?]+)', url)
if secure_url_match is not None:
bundle_path = get_ca_bundle_path(self.settings)
bundle_path = shortpath(get_ca_bundle_path(self.settings))
command.append('--ca-certificate=' + bundle_path)

command.append('-S')
Expand Down
Loading