diff options
| author | bwarsaw | 2001-05-16 05:28:35 +0000 |
|---|---|---|
| committer | bwarsaw | 2001-05-16 05:28:35 +0000 |
| commit | 5c428299332d88e67f6cd957f2567e9bdd040abd (patch) | |
| tree | 39b4cdd1519de4c15b5b349dde61c723ee94da54 | |
| parent | f93cc7312214ea5b3d0378d20b0ece8eeac125a8 (diff) | |
| download | mailman-5c428299332d88e67f6cd957f2567e9bdd040abd.tar.gz mailman-5c428299332d88e67f6cd957f2567e9bdd040abd.tar.zst mailman-5c428299332d88e67f6cd957f2567e9bdd040abd.zip | |
| -rw-r--r-- | Mailman/Cgi/private.py | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/Mailman/Cgi/private.py b/Mailman/Cgi/private.py index e727bcf7a..77041fe80 100644 --- a/Mailman/Cgi/private.py +++ b/Mailman/Cgi/private.py @@ -135,11 +135,13 @@ def main(): print 'Content-type: text/html; charset=' + charset + '\n\n' while path and path[0] == '/': path=path[1:] # Remove leading /'s - basepath = os.path.split(mlist.GetBaseArchiveURL())[0] - listname = mlist.real_name - print Utils.maketext('private.txt', vars(), - lang=mlist.preferred_language) - sys.exit(0) + print Utils.maketext( + 'private.html', + {'action' : mlist.GetScriptURL('private', absolute=1), + 'realname': mlist.real_name, + 'message' : message, + }, lang=mlist.preferred_language) + return # Authorization confirmed... output the desired file try: |
