summaryrefslogtreecommitdiff
path: root/Mailman/Cgi/options.py
diff options
context:
space:
mode:
authorbwarsaw2000-09-11 15:34:23 +0000
committerbwarsaw2000-09-11 15:34:23 +0000
commitbc13f7459ee975097edaf9ea36b2edc515987cae (patch)
tree85468c1e4126dfd9efe3867a3d80b3ed303572b6 /Mailman/Cgi/options.py
parente1c7fe7c907277bd48ad58312f1c52455bf94fcd (diff)
downloadmailman-bc13f7459ee975097edaf9ea36b2edc515987cae.tar.gz
mailman-bc13f7459ee975097edaf9ea36b2edc515987cae.tar.zst
mailman-bc13f7459ee975097edaf9ea36b2edc515987cae.zip
main(): Because `/' is legal in RFC822 email addresses, it could show
up in the user link. This would be interpreted as additional path components, so we need to join the user name components to get the actual address.
Diffstat (limited to '')
-rw-r--r--Mailman/Cgi/options.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mailman/Cgi/options.py b/Mailman/Cgi/options.py
index 462a67649..4d66f671a 100644
--- a/Mailman/Cgi/options.py
+++ b/Mailman/Cgi/options.py
@@ -54,7 +54,7 @@ def main():
# get the list and user's name
listname = string.lower(parts[0])
- user = Utils.UnobscureEmail(parts[1])
+ user = Utils.UnobscureEmail(string.join(parts[1:], '/'))
# open list
try:
mlist = MailList.MailList(listname, lock=0)