Use HTTPS for downloading files from Microsoft

This commit is contained in:
luzea 2022-02-08 16:42:42 +01:00
parent e889ec6629
commit bcabed0d33

View File

@ -295,6 +295,7 @@ function uupGetFiles(
$filesNew = array(); $filesNew = array();
foreach($filesInfoKeys as $val) { foreach($filesInfoKeys as $val) {
$filesNew[$val] = $filesInfoList[$val]; $filesNew[$val] = $filesInfoList[$val];
$filesNew[$val]['url'] = str_replace('http://tlu.dl.delivery.mp.microsoft.com', 'https://uupdump.sf.tlu.dl.delivery.mp.microsoft.com', $filesInfoList[$val]['url']);
} }
$files = $filesNew; $files = $filesNew;