Change mailpref redirect to go to pglister
authorMagnus Hagander <magnus@hagander.net>
Tue, 23 Jan 2018 20:12:15 +0000 (21:12 +0100)
committerMagnus Hagander <magnus@hagander.net>
Tue, 23 Jan 2018 20:12:15 +0000 (21:12 +0100)
pgweb/legacyurl/views.py

index 27371190f9d0b250d9159bd2669943ed922f69e4..d85da0f45137978252bb5ef1c907f864a6d2f4a9 100644 (file)
@@ -18,4 +18,5 @@ def html_extension(request, prior_to_html):
        return HttpResponseRedirect("/%s" % prior_to_html)
 
 def mailpref(request, listname):
-       return HttpResponseRedirect("https://lists.postgresql.org/mj/mj_wwwusr/domain=postgresql.org?func=lists-long-full&extra=%s" % listname)
+       # Just redirect to the homepage of pglister, don't try specific lists
+       return HttpResponseRedirect("https://lists.postgresql.org/")