diff options
| author | tkikuchi | 2006-11-09 01:13:59 +0000 |
|---|---|---|
| committer | tkikuchi | 2006-11-09 01:13:59 +0000 |
| commit | 28690731c0e6b13d60629223a7a9dbccc442f8ee (patch) | |
| tree | 76576c9d8f0bf748dd38c37879f0c51a4a4f3a46 /Mailman/Cgi/private.py | |
| parent | cf6448420c10aaf4cd7a8af27058df852017cb7c (diff) | |
| download | mailman-28690731c0e6b13d60629223a7a9dbccc442f8ee.tar.gz mailman-28690731c0e6b13d60629223a7a9dbccc442f8ee.tar.zst mailman-28690731c0e6b13d60629223a7a9dbccc442f8ee.zip | |
MailList.py ... GetScriptURL() absolute again because we need it for email
notifications.
wsgi_app.py ... URI normalization by stripping trailing slash. We need
Special care for 'private'.
Strip dot only components in the PATH_INFO for sanitization.
Diffstat (limited to 'Mailman/Cgi/private.py')
| -rw-r--r-- | Mailman/Cgi/private.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Mailman/Cgi/private.py b/Mailman/Cgi/private.py index c9e69944b..1ed6fa23d 100644 --- a/Mailman/Cgi/private.py +++ b/Mailman/Cgi/private.py @@ -139,7 +139,7 @@ def main(): print 'Content-type: text/html; charset=' + charset + '\n\n' # Put the original full path in the authorization form, but avoid # trailing slash if we're not adding parts. We add it below. - action = mlist.GetScriptURL('private', absolute=1) + action = mlist.GetScriptURL('private') if parts[1:]: action = os.path.join(action, SLASH.join(parts[1:])) # If we added '/index.html' to true_filename, add a slash to the URL. |
