diff options
author | Richard Jones <richard@mechanicalcat.net> | 2013-03-26 15:45:22 +1100 |
---|---|---|
committer | Richard Jones <richard@mechanicalcat.net> | 2013-03-26 15:45:22 +1100 |
commit | 296891eb3cdd035c03c600b3872b2630eb1df737 (patch) | |
tree | b4ce7089f1a5a76ce5bc02ff4c4d995fd5f32715 /webui.py | |
parent | ada25c16075e7ea264a33fba6d914f2df377fb96 (diff) | |
download | decorator-296891eb3cdd035c03c600b3872b2630eb1df737.tar.gz |
ugh, url quote it
Diffstat (limited to 'webui.py')
-rw-r--r-- | webui.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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>") |