forked from uup-dump/api
Use HTTPS for downloading files from Microsoft
This commit is contained in:
parent
e889ec6629
commit
bcabed0d33
1
get.php
1
get.php
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user