summaryrefslogtreecommitdiff
path: root/Mailman/HTMLFormatter.py
diff options
context:
space:
mode:
authorbwarsaw2001-10-09 21:33:32 +0000
committerbwarsaw2001-10-09 21:33:32 +0000
commit8934271ae10c55826b02e8d2c987fe2e171e2bf3 (patch)
tree4c85c669e07b6b762d9d873dbc84fc9b874e9294 /Mailman/HTMLFormatter.py
parent326a1174d730585329db1c3a321d5c94c17af0b2 (diff)
downloadmailman-8934271ae10c55826b02e8d2c987fe2e171e2bf3.tar.gz
mailman-8934271ae10c55826b02e8d2c987fe2e171e2bf3.tar.zst
mailman-8934271ae10c55826b02e8d2c987fe2e171e2bf3.zip
AuthContextInfo(): Python 2.x's Cookie.py module is strict about legal
characters in keys, and it complains about the `@' signs in the email addresses of AuthUser keys. So we'll obscure the email address, changing `@' to `--at--', which contains only happy characters. This doesn't affect auto-guessing of the user based on the presence of the cookie, because we just need to unobscure whatever follows the `user+' prefix. WebAuthenticate(): MMNotAMemberError -> NotAMemberError MakeCookie(): Raise ValueError instead of MMBadUserError. CheckCookie(): The prefix for AuthUser is listname+user+, and here's where we unobscure anything we've found.
Diffstat (limited to 'Mailman/HTMLFormatter.py')
0 files changed, 0 insertions, 0 deletions