summaryrefslogtreecommitdiff
path: root/cgi/archives
diff options
context:
space:
mode:
authormailman1998-03-05 19:59:09 +0000
committermailman1998-03-05 19:59:09 +0000
commit98cf560f0161f8d9ee94a14d0ae6a49b3169cd5e (patch)
tree81d3bcf5eb2794cd9ad27b8633f44c9fbe6820aa /cgi/archives
parent4e92044311ae5256e89d91f0ea5143a443296329 (diff)
downloadmailman-98cf560f0161f8d9ee94a14d0ae6a49b3169cd5e.tar.gz
mailman-98cf560f0161f8d9ee94a14d0ae6a49b3169cd5e.tar.zst
mailman-98cf560f0161f8d9ee94a14d0ae6a49b3169cd5e.zip
Normalize the list name to lower case. (Email doesn't care, but
the web - URLs - does.)
Diffstat (limited to 'cgi/archives')
-rwxr-xr-xcgi/archives4
1 files changed, 2 insertions, 2 deletions
diff --git a/cgi/archives b/cgi/archives
index c5614e7d5..99e79ad91 100755
--- a/cgi/archives
+++ b/cgi/archives
@@ -1,7 +1,7 @@
#!/usr/local/bin/python
# We don't need to lock in this script, because we're never going to change data.
-import sys, os, types, posix
+import sys, os, types, posix, string
sys.stderr = sys.stdout
sys.path.append('/home/mailman/mailman/modules')
import mm_utils, maillist, htmlformat
@@ -16,7 +16,7 @@ if len(list_info) < 1:
print "<h2>Invalid options to CGI script.</h2>"
sys.exit(0)
-list_name = list_info[0]
+list_name = string.lower(list_info[0])
try:
list = maillist.MailList(list_name)