diff --git a/index.mdwn b/index.mdwn index 2976961..ea4faad 100644 --- a/index.mdwn +++ b/index.mdwn @@ -1,7 +1,7 @@ Title: Home
+3 Feb: Web Server Change +------------------------ -Jan 18: Blacked Out for SOPA -============================ - -SOPAStrike.com +Because of a newly-discovered security bug in the web server software +I was using, I had to do an unplanned emergency changeover to something +else. I think everything is working now, including webmail. +Please let me know if you find anything broken. diff --git a/lists.cgi b/lists.cgi index 7036cf1..350a3ca 100755 --- a/lists.cgi +++ b/lists.cgi @@ -23,7 +23,7 @@ def getdesc(d): return '(none)' ret = desc_re.search(hdrs) if ret: - return ret.group(1) + return cgi.escape(ret.group(1)).replace('#', '') else: return '(none)' @@ -47,10 +47,8 @@ if l and os.path.isdir(os.path.join(listdir, 'control')): content = "Uh oh. That didn't work.
" content += "%s" % cgi.escape(str(err)) else: - desc = getdesc(listdir) content = '
To subscribe to or unsubscribe from the %s list,' % l content += ' just enter your email address in this handy dandy form!
' @@ -83,7 +81,7 @@ else: continue l = os.path.basename(d) - content += '