Change mailpref URL to redirect to lists.postgresql.org
authorMagnus Hagander <magnus@hagander.net>
Mon, 28 Aug 2017 09:54:43 +0000 (11:54 +0200)
committerMagnus Hagander <magnus@hagander.net>
Mon, 28 Aug 2017 09:55:26 +0000 (11:55 +0200)
mail.postgresql.org is a hostname we haven't used actively for a *long*
time, so stop redirecting to it (it still worked, but is definitely very
legacy)

pgweb/legacyurl/views.py

index 148a95df3d568a53bbb6584dda3ee07692b993e9..27371190f9d0b250d9159bd2669943ed922f69e4 100644 (file)
@@ -18,4 +18,4 @@ def html_extension(request, prior_to_html):
        return HttpResponseRedirect("/%s" % prior_to_html)
 
 def mailpref(request, listname):
-       return HttpResponseRedirect("https://mail.postgresql.org/mj/mj_wwwusr/domain=postgresql.org?func=lists-long-full&extra=%s" % listname)
+       return HttpResponseRedirect("https://lists.postgresql.org/mj/mj_wwwusr/domain=postgresql.org?func=lists-long-full&extra=%s" % listname)