summaryrefslogtreecommitdiff
path: root/Mailman/pythonlib
diff options
context:
space:
mode:
authorbwarsaw1999-01-08 19:22:51 +0000
committerbwarsaw1999-01-08 19:22:51 +0000
commit23a2f7817dfd9903d664cf96d0aeab78677eaf66 (patch)
treefb946c88cc72e1ad426363d994a79dc5232c7821 /Mailman/pythonlib
parentb9461fcfb3564f8a708a9daafda98273a16bf4d1 (diff)
downloadmailman-23a2f7817dfd9903d664cf96d0aeab78677eaf66.tar.gz
mailman-23a2f7817dfd9903d664cf96d0aeab78677eaf66.tar.zst
mailman-23a2f7817dfd9903d664cf96d0aeab78677eaf66.zip
main(): Kludge-around for accessing variable details when cookies are
disabled. The problem: because cookies are disabled, the admin has to authenticate for each access. We can't change this because otherwise option values could leak. So when the admin fills in the password and clicks `let me in...', the form gets POSTed, and even those the variable to get details on is given in the form's ACTION, cgi.py ignores any QUERY_STRING on a POST. Maybe cgi.py should be fixed? In the meantime, we just watch for the FieldStorage having a `request_login' field and a QUERY_STRING environment variable. In that case, we manually parse out the query string and use its value if available.
Diffstat (limited to 'Mailman/pythonlib')
0 files changed, 0 insertions, 0 deletions