summaryrefslogtreecommitdiff
path: root/webui.py
diff options
context:
space:
mode:
authorRichard Jones <richard@mechanicalcat.net>2013-03-26 15:45:22 +1100
committerRichard Jones <richard@mechanicalcat.net>2013-03-26 15:45:22 +1100
commit296891eb3cdd035c03c600b3872b2630eb1df737 (patch)
treeb4ce7089f1a5a76ce5bc02ff4c4d995fd5f32715 /webui.py
parentada25c16075e7ea264a33fba6d914f2df377fb96 (diff)
downloaddecorator-296891eb3cdd035c03c600b3872b2630eb1df737.tar.gz
ugh, url quote it
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 9ac5c21..24c2c9a 100644
--- a/webui.py
+++ b/webui.py
@@ -668,7 +668,7 @@ class WebUI:
rel = ' rel="%s"' % rel
else:
rel = ''
- href = cgi.escape(href, quote=True)
+ href = urllib.quote(href)
text = cgi.escape(text)
html.append("""<a href="%s"%s>%s</a><br/>\n""" % (href, rel, text))
html.append("</body></html>")