Browse Source

* Handle https-protocol on downloads from repositories

git-svn-id: trunk@36529 -
joost 8 years ago
parent
commit
187724d844
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/fppkg/src/pkgdownload.pp

+ 1 - 1
packages/fppkg/src/pkgdownload.pp

@@ -148,7 +148,7 @@ begin
   P:=URI.Protocol;
   P:=URI.Protocol;
   If CompareText(P,'ftp')=0 then
   If CompareText(P,'ftp')=0 then
     FTPDownload(URL,Dest)
     FTPDownload(URL,Dest)
-  else if CompareText(P,'http')=0 then
+  else if (CompareText(P,'http')=0) or (CompareText(P,'https')=0) then
     HTTPDownload(URL,Dest)
     HTTPDownload(URL,Dest)
   else if CompareText(P,'file')=0 then
   else if CompareText(P,'file')=0 then
     FileDownload(URL,Dest)
     FileDownload(URL,Dest)