Skip to content

Commit ed800a0

Browse files
committed
https: used
1 parent 599af8d commit ed800a0

4 files changed

Lines changed: 11 additions & 11 deletions

File tree

lib/plugins-manager.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
include("settings.php");
44

55
// Set the plugin data source
6-
$pluginsDataSrc = "http://icecoder.net/plugin-data?format=JSON";
6+
$pluginsDataSrc = "https://icecoder.net/plugin-data?format=JSON";
77

88
// Now get our plugin data and put into a PHP array
99
if (ini_get('allow_url_fopen')) {
@@ -243,7 +243,7 @@ function deletePlugin($dir) {
243243
}
244244
}
245245

246-
echo '<td style="padding: 0 10px 8px 0; width: 28px; text-align: center"><img src="proxy.php?url=https%3A%2F%2Fgithub.com%2F%3Cspan+class%3D"x x-first x-last">http://icecoder.net/'.$pluginsData[$i]['icon'].'" alt="'.$pluginsData[$i]['name'].'"></td>';
246+
echo '<td style="padding: 0 10px 8px 0; width: 28px; text-align: center"><img src="proxy.php?url=https%3A%2F%2Fgithub.com%2F%3Cspan+class%3D"x x-first x-last">https://icecoder.net/'.$pluginsData[$i]['icon'].'" alt="'.$pluginsData[$i]['name'].'"></td>';
247247
echo '<td style="padding: 8px 10px 8px 0; width: 250px; white-space: nowrap">'.$pluginsData[$i]['name'].'</td>';
248248
$styleExtra = ($i % 2 == 1 || $i == count($pluginsData)-1) ? "0" : "30px";
249249
echo '<td style="padding: 3px '.$styleExtra.' 8px 0">'.$installUninstallButton.'</td>';

lib/settings-screen.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
<body class="settings">
4040

4141
<div class="infoPane">
42-
<a href="proxy.php?url=https%3A%2F%2Fgithub.com%2F%3Cspan+class%3D"x x-first x-last">http://icecoder.net" target="_blank"><img src="proxy.php?url=https%3A%2F%2Fgithub.com%2F..%2Fimages%2Fice-coder.png" alt="ICEcoder" class="logo"></a>
42+
<a href="proxy.php?url=https%3A%2F%2Fgithub.com%2F%3Cspan+class%3D"x x-first x-last">https://icecoder.net" target="_blank"><img src="proxy.php?url=https%3A%2F%2Fgithub.com%2F..%2Fimages%2Fice-coder.png" alt="ICEcoder" class="logo"></a>
4343

4444
<h1 style="margin: 10px 0">settings</h1>
4545

@@ -49,11 +49,11 @@
4949
<br><br>
5050

5151
website:<br>
52-
<a href="proxy.php?url=https%3A%2F%2Fgithub.com%2F%3Cspan+class%3D"x x-first x-last">http://icecoder.net" target="_blank">http://icecoder.net</a>
52+
<a href="proxy.php?url=https%3A%2F%2Fgithub.com%2F%3Cspan+class%3D"x x-first x-last">https://icecoder.net" target="_blank">https://icecoder.net</a>
5353
<br><br>
5454

5555
git:<br>
56-
<a href="proxy.php?url=https%3A%2F%2Fgithub.com%2F%3Cspan+class%3D"x x-first x-last">http://github.com/mattpass/ICEcoder" target="_blank">http://github.com/mattpass/ICEcoder</a>
56+
<a href="proxy.php?url=https%3A%2F%2Fgithub.com%2F%3Cspan+class%3D"x x-first x-last">https://github.com/mattpass/ICEcoder" target="_blank">https://github.com/mattpass/ICEcoder</a>
5757
<br><br>
5858

5959
codemirror dir:<br>
@@ -70,15 +70,15 @@
7070
<?php echo $ICEcoder['root'] == "" ? "/" : $ICEcoder['root'];?>
7171
<br><br>
7272

73-
<div style="font-size: 10px; line-height: 12px">ICE coder by Matt Pass (<a href="proxy.php?url=https%3A%2F%2Fgithub.com%2F%3Cspan+class%3D"x x-first x-last">http://www.twitter.com/mattpass" style="font-size: 10px" target="_blank">@mattpass</a>)<br><br>
73+
<div style="font-size: 10px; line-height: 12px">ICE coder by Matt Pass (<a href="proxy.php?url=https%3A%2F%2Fgithub.com%2F%3Cspan+class%3D"x x-first x-last">https://www.twitter.com/mattpass" style="font-size: 10px" target="_blank">@mattpass</a>)<br><br>
7474
Free to use it for your own purposes, commercial or not, just let me know of any cool uses or customisations. :)<br><br>
7575
No warranty or liability accepted for anything, all responsibility of use is your own.<br><br>
7676

7777
Thanks go to the following people who have inspired me to create this or provided feedback, code or testing:<br>
7878
<?php
7979
$peopleArray = array("marijnjh", "maettig", "darkosvitic", "anagnam", "a_harris88", "emmetio", "prinzhorn", "jakubvrana", "vicen_herrera", "abstractba", "adarwash", "themximum");
8080
function makeURL(&$value) {
81-
$value = '<a href="proxy.php?url=https%3A%2F%2Fgithub.com%2F%3Cspan+class%3D"x x-first x-last">http://www.twitter.com/'.$value.'" style="font-size: 10px" target="_blank">@'.$value.'</a>';
81+
$value = '<a href="proxy.php?url=https%3A%2F%2Fgithub.com%2F%3Cspan+class%3D"x x-first x-last">https://www.twitter.com/'.$value.'" style="font-size: 10px" target="_blank">@'.$value.'</a>';
8282
};
8383
array_walk($peopleArray, "makeURL");
8484
echo implode(", ",$peopleArray);

lib/updater.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ function copyOldVersion() {
4848
}
4949
}
5050
}
51-
$icv_url = "http://icecoder.net/latest-version.txt";
51+
$icv_url = "https://icecoder.net/latest-version.txt";
5252
echo 'Detecting current version of ICEcoder...<br>';
5353
if (ini_get('allow_url_fopen')) {
5454
$icvInfo = file_get_contents($icv_url,false,$context);
@@ -70,7 +70,7 @@ function openZipNew($icvInfo) {
7070
$source = 'ICEcoder v'.$icvInfo;
7171
$target = '../';
7272

73-
$remoteFile = 'http://icecoder.net/ICEcoder-v'.(str_replace(" beta", "-beta",$icvInfo)).'.zip';
73+
$remoteFile = 'https://icecoder.net/ICEcoder-v'.(str_replace(" beta", "-beta",$icvInfo)).'.zip';
7474
$file = "../tmp/new-version.zip";
7575
if (ini_get('allow_url_fopen')) {
7676
$fileData = file_get_contents($remoteFile,false,$context);
@@ -184,7 +184,7 @@ function copyOverSettings($icvInfo) {
184184
echo '<script>alert("Update appears to be successful");window.location = "../";</script>';
185185
} else {
186186
echo 'Something appears to have gone wrong :-/<br><br>';
187-
echo 'Please report bugs at <a href="proxy.php?url=https%3A%2F%2Fgithub.com%2F%3Cspan+class%3D"x x-first x-last">http://github.com/mattpass/ICEcoder" style="color: #fff">http://github.com/mattpass/ICEcoder</a><br><br>';
187+
echo 'Please report bugs at <a href="proxy.php?url=https%3A%2F%2Fgithub.com%2F%3Cspan+class%3D"x x-first x-last">https://github.com/mattpass/ICEcoder" style="color: #fff">https://github.com/mattpass/ICEcoder</a><br><br>';
188188
echo 'You can recover the old version from ICEcoder\'s tmp dir';
189189
}
190190
?>

test/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ function runTests() {
225225
o.p = ICEcoder.openFiles[1];
226226
t++;
227227
},1);
228-
result = ICEcoder.getRemoteFile('http://icecoder.net/latest-version');
228+
result = ICEcoder.getRemoteFile('https://icecoder.net/latest-version');
229229
},
230230

231231
moveGoToLine: function() {

0 commit comments

Comments
 (0)