Skip to content

Commit

Permalink
Merge pull request #660 from furlongm/https-mirrorlists
Browse files Browse the repository at this point in the history
recognize https mirrors in mirrorlists
  • Loading branch information
furlongm authored Mar 1, 2025
2 parents 803a0bf + fdeea13 commit 8dcea75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion repos/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ def get_mirrorlist_urls(url):
data = download_url(res, 'Downloading repo info:')
if data is None:
return
mirror_urls = re.findall('^http://.*$|^ftp://.*$',
mirror_urls = re.findall('^http[s]*://.*$|^ftp://.*$',
data.decode('utf-8'), re.MULTILINE)
if mirror_urls:
return mirror_urls
Expand Down

0 comments on commit 8dcea75

Please sign in to comment.