event.preventDefault();
linkLocation = this.href;
- window.location = "http://downloads.ipfire.org/download-splash?file="+linkLocation;
+ window.location = "https://downloads.ipfire.org/download-splash?file="+linkLocation;
});
var $window = $(window);
$("p.download-path").ready(function(){
var valid = false;
var allowed_prefixes = [
- "http://downloads.ipfire.org/",
+ "https://downloads.ipfire.org/",
]
var file_url = $.query("file");
<a href="http://www.ipfire.org/about">{{ _("About IPFire") }}</a>
</li>
<li>
- <a href="http://downloads.ipfire.org">{{ _("Download") }}</a>
+ <a href="https://downloads.ipfire.org">{{ _("Download") }}</a>
</li>
<li>
- <a href="http://planet.ipfire.org">{{ _("Planet") }}</a>
+ <a href="https://planet.ipfire.org">{{ _("Planet") }}</a>
</li>
<li>
<a href="http://www.ipfire.org/imprint">{{ _("Imprint") }}</a>
{% module DownloadButton(release) %}
<p>
- <a href="http://downloads.ipfire.org/release/{{ release.sname }}">
+ <a href="https://downloads.ipfire.org/release/{{ release.sname }}">
{{ _("Other download options") }}
</a>
</p>
@property
def url(self):
- baseurl = self.settings.get("download_url", "http://downloads.ipfire.org")
-
- return urlparse.urljoin(baseurl, self.filename)
+ return urlparse.urljoin("https://downloads.ipfire.org", self.filename)
@property
def desc(self):
assert self.supports_platform(platform)
if self.sname >= "ipfire-2.19-core100":
- return "http://downloads.ipfire.org/%s/images/%s/vmlinuz" % (self.path, arch)
+ return "https://downloads.ipfire.org/%s/images/%s/vmlinuz" % (self.path, arch)
- return "http://downloads.ipfire.org/%s/images/vmlinuz" % self.path
+ return "https://downloads.ipfire.org/%s/images/vmlinuz" % self.path
def netboot_initrd_url(self, arch, platform):
assert self.supports_arch(arch)
assert self.supports_platform(platform)
if self.sname >= "ipfire-2.19-core100":
- return "http://downloads.ipfire.org/%s/images/%s/instroot" % (self.path, arch)
+ return "https://downloads.ipfire.org/%s/images/%s/instroot" % (self.path, arch)
- return "http://downloads.ipfire.org/%s/images/instroot" % self.path
+ return "https://downloads.ipfire.org/%s/images/instroot" % self.path
def netboot_args(self, arch, platform):
return ""