X-Git-Url: https://git.llucax.com/software/blitiri.git/blobdiff_plain/74a71431203c30c3b47ca985ec3d08e1ac38b080..2b64be9dc6ae52efdbc2beaf76b87c747857c4a1:/blitiri.cgi diff --git a/blitiri.cgi b/blitiri.cgi index 6ada91b..8ce4298 100755 --- a/blitiri.cgi +++ b/blitiri.cgi @@ -549,9 +549,7 @@ def valid_link(link): return None def sanitize(obj): - if isinstance(obj, basestring): - return cgi.escape(obj, True) - return obj + return cgi.escape(obj, quote = True) # find out our URL, needed for syndication