Преглед изворни кода

* 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)