Mageia Bugzilla – Attachment 354 Details for
Bug 1140
Download page should not use https links
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
Fix to remove https
fix.1140.diff (text/plain), 552 bytes, created by
Michael Scherer
on 2011-05-05 00:18:04 CEST
(
hide
)
Description:
Fix to remove https
Filename:
MIME Type:
Creator:
Michael Scherer
Created:
2011-05-05 00:18:04 CEST
Size:
552 bytes
patch
obsolete
>Index: Downloads.php >=================================================================== >--- Downloads.php (révision 406) >+++ Downloads.php (copie de travail) >@@ -110,7 +110,7 @@ > $m[$val[0]] = $val[1]; > } > $pu = parse_url($m['url']); >- if (in_array($pu['scheme'], array('http', 'https', 'ftp'))) >+ if (in_array($pu['scheme'], array('http', 'ftp'))) > $mirrors3[$m['country']][] = array( > 'city' => $m['city'], > 'zone' => $m['zone'],
Index: Downloads.php =================================================================== --- Downloads.php (révision 406) +++ Downloads.php (copie de travail) @@ -110,7 +110,7 @@ $m[$val[0]] = $val[1]; } $pu = parse_url($m['url']); - if (in_array($pu['scheme'], array('http', 'https', 'ftp'))) + if (in_array($pu['scheme'], array('http', 'ftp'))) $mirrors3[$m['country']][] = array( 'city' => $m['city'], 'zone' => $m['zone'],
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1140
: 354