move downloads through the file browser to https by default

This commit is contained in:
Stefan Kaltenbrunner
2014-11-03 21:05:06 +01:00
parent e5eaf0ed87
commit 233e37e327

View File

@ -140,7 +140,7 @@ def mirrorselect(request, path):
# redirect this to ftp.mirrors.postgresql.org for now...
# Since requests hit our internal servers, we're also not going to
# bother logging them - logging will be handled by those servers
return HttpResponseRedirect("http://ftp.postgresql.org/pub/%s" % path)
return HttpResponseRedirect("https://ftp.postgresql.org/pub/%s" % path)
# Accesses asking for a specific mirror will keep doing that for now.
# At some time in the future we might consider hijacking them and sending