summaryrefslogtreecommitdiff
path: root/Mailman/Archiver/HyperArch.py
diff options
context:
space:
mode:
Diffstat (limited to 'Mailman/Archiver/HyperArch.py')
-rw-r--r--Mailman/Archiver/HyperArch.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Mailman/Archiver/HyperArch.py b/Mailman/Archiver/HyperArch.py
index 32b5d6492..8aaac8319 100644
--- a/Mailman/Archiver/HyperArch.py
+++ b/Mailman/Archiver/HyperArch.py
@@ -101,9 +101,9 @@ html_charset = '<META http-equiv="Content-Type" ' \
def CGIescape(arg):
if isinstance(arg, types.UnicodeType):
- s = cgi.escape(arg)
+ s = Utils.websafe(arg)
else:
- s = cgi.escape(str(arg))
+ s = Utils.websafe(str(arg))
return unicode_quote(s.replace('"', '&quot;'))
# Parenthesized human name