From c1efa3510e5e8f3cd0d28b5a050155d71a76daa5 Mon Sep 17 00:00:00 2001 From: William McBrine Date: Wed, 24 Dec 2014 12:17:34 -0500 Subject: [PATCH] Angle brackets in the error message made it invisible. --- plugins/togo/togo.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/togo/togo.py b/plugins/togo/togo.py index 1ccf7d1..e85c2de 100644 --- a/plugins/togo/togo.py +++ b/plugins/togo/togo.py @@ -1,3 +1,4 @@ +import cgi import cookielib import logging import os @@ -142,7 +143,7 @@ class ToGo(Plugin): try: page = self.tivo_open(theurl) except IOError, e: - handler.redir(UNABLE % (tivoIP, e), 10) + handler.redir(UNABLE % (tivoIP, cgi.escape(str(e))), 10) return tivo_cache[theurl] = {'thepage': minidom.parse(page), 'thepage_time': time.time()} -- 2.11.4.GIT