summaryrefslogtreecommitdiff
path: root/webui.py
diff options
context:
space:
mode:
authorRichard Jones <richard@mechanicalcat.net>2013-03-26 16:00:56 +1100
committerRichard Jones <richard@mechanicalcat.net>2013-03-26 16:00:56 +1100
commit461f6ffc10152ed6efe8fbb31c571080ea32519d (patch)
treee091e2e91d1796d5780c61245786d8d2a8f2a863 /webui.py
parent296891eb3cdd035c03c600b3872b2630eb1df737 (diff)
downloaddecorator-461f6ffc10152ed6efe8fbb31c571080ea32519d.tar.gz
erm, no, undo that
Diffstat (limited to 'webui.py')
-rw-r--r--webui.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/webui.py b/webui.py
index 24c2c9a..9ac5c21 100644
--- a/webui.py
+++ b/webui.py
@@ -668,7 +668,7 @@ class WebUI:
rel = ' rel="%s"' % rel
else:
rel = ''
- href = urllib.quote(href)
+ href = cgi.escape(href, quote=True)
text = cgi.escape(text)
html.append("""<a href="%s"%s>%s</a><br/>\n""" % (href, rel, text))
html.append("</body></html>")