summaryrefslogtreecommitdiffstats
path: root/hyperkitty/views/compat.py
diff options
context:
space:
mode:
authorAurélien Bompard <aurelien@bompard.org>2013-10-01 15:23:16 +0200
committerAurélien Bompard <aurelien@bompard.org>2013-10-02 16:12:21 +0200
commit5b0796d955930ff953f503c9f1966dfbbe876fec (patch)
tree00dee1cf0f073e4118b23b3eb230edfe26c34cf7 /hyperkitty/views/compat.py
parent5eb359ec836542de262f524d65ac52405cdde9b6 (diff)
downloadhyperkitty-5b0796d955930ff953f503c9f1966dfbbe876fec.tar.gz
hyperkitty-5b0796d955930ff953f503c9f1966dfbbe876fec.tar.xz
hyperkitty-5b0796d955930ff953f503c9f1966dfbbe876fec.zip
Disable the arch_month_mbox view, there's a privacy leak
Diffstat (limited to 'hyperkitty/views/compat.py')
-rw-r--r--hyperkitty/views/compat.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/hyperkitty/views/compat.py b/hyperkitty/views/compat.py
index b8c0666..521d9b7 100644
--- a/hyperkitty/views/compat.py
+++ b/hyperkitty/views/compat.py
@@ -62,6 +62,12 @@ def arch_month(request, list_name, year, month_name, summary_type="thread"):
def arch_month_mbox(request, list_name, year, month_name):
+ """
+ The messages must be rebuilt before being added to the mbox file, including
+ headers and the textual content, making sure to escape email addresses.
+ """
+ return HttpResponse("Not implemented yet.",
+ content_type="text/plain", status=500)
store = get_store(request)
mlist = get_list_by_name(list_name, store, request)
if mlist is None: