浏览代码

* Handle https-protocol on downloads from repositories

git-svn-id: trunk@36529 -
joost 8 年之前
父节点
当前提交
187724d844
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      packages/fppkg/src/pkgdownload.pp

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

@@ -148,7 +148,7 @@ begin
   P:=URI.Protocol;
   If CompareText(P,'ftp')=0 then
     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)
   else if CompareText(P,'file')=0 then
     FileDownload(URL,Dest)