diff options
Diffstat (limited to '')
| -rw-r--r-- | Mailman/Cgi/private.py | 7 |
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: |
