summaryrefslogtreecommitdiffabout
authorSergey Poznyakoff <gray@gnu.org.ua>2019-07-05 12:30:09 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2019-07-05 12:30:09 (GMT)
commitb3901df95ed4e0bba64522f7859b50de92d8db68 (patch) (side-by-side diff)
tree91701909ba2a23ea84c8dc88b8264ed3d66878fb
parent41e14829aa6ff0a777cfa832244a57e6602451a6 (diff)
downloadmailman-b3901df95ed4e0bba64522f7859b50de92d8db68.tar.gz
mailman-b3901df95ed4e0bba64522f7859b50de92d8db68.tar.bz2
Fix hardcoded URL in listarchive.py
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--Mailman/Cgi/listarchive.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mailman/Cgi/listarchive.py b/Mailman/Cgi/listarchive.py
index 40c6fcf..873a7be 100644
--- a/Mailman/Cgi/listarchive.py
+++ b/Mailman/Cgi/listarchive.py
@@ -196,7 +196,7 @@ def main():
return
loc = script_name + '/' + listname + '/' + plist[n] + '/'
- print "Location: http://mail.gnu.org.ua%s\n" % loc
+ print "Location: %s%s\n" % (mm_cfg.DEFAULT_HOST_NAME or mm_cfg.DEFAULT_EMAIL_HOST, loc)
return

Return to:

Send suggestions and report system problems to the System administrator.