From 233e37e327dd76dd87dfdcec4ef22df13640a214 Mon Sep 17 00:00:00 2001 From: Stefan Kaltenbrunner Date: Mon, 3 Nov 2014 21:05:06 +0100 Subject: [PATCH] move downloads through the file browser to https by default --- pgweb/downloads/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pgweb/downloads/views.py b/pgweb/downloads/views.py index 60b9642b..4084eca3 100644 --- a/pgweb/downloads/views.py +++ b/pgweb/downloads/views.py @@ -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