summaryrefslogtreecommitdiff
path: root/Mailman/Cgi/private.py
diff options
context:
space:
mode:
authorbwarsaw1999-03-29 23:53:57 +0000
committerbwarsaw1999-03-29 23:53:57 +0000
commite251fde544707542c0f1c9055bbb29380f65f3d1 (patch)
treea4bc2f71b8acff908fbfd4792a717a3d576dcba6 /Mailman/Cgi/private.py
parent17df994a995f805bb110cabbac63a0087e964f25 (diff)
downloadmailman-e251fde544707542c0f1c9055bbb29380f65f3d1.tar.gz
mailman-e251fde544707542c0f1c9055bbb29380f65f3d1.tar.zst
mailman-e251fde544707542c0f1c9055bbb29380f65f3d1.zip
Diffstat (limited to 'Mailman/Cgi/private.py')
-rw-r--r--Mailman/Cgi/private.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/Mailman/Cgi/private.py b/Mailman/Cgi/private.py
index 4f47bdc4d..64fd43885 100644
--- a/Mailman/Cgi/private.py
+++ b/Mailman/Cgi/private.py
@@ -160,11 +160,14 @@ def main():
# then
true_filename = true_filename + '.gz'
- if not isAuthenticated(list_name):
+ if not list_name or not isAuthenticated(list_name):
# Output the password form
print 'Content-type: text/html\n'
page = PAGE
-
+
+ if not list_name:
+ print '\n<h3>No list name found.</h3>'
+ raise SystemExit
try:
listobj = GetListobj(list_name)
except Errors.MMUnknownListError: