Roundup Tracker - Issues

Issue 1490176

classification
Slight bug(?) found in roundup/cgi/templating.py
Type: Severity: normal
Components: Web interface Versions:
process
Status: closed fixed
:
: richard : richard, tjwarren
Priority: normal :

Created on 2006-05-17 11:13 by tjwarren, last changed 2006-05-17 11:13 by tjwarren.

Files
File name Uploaded Description Edit Remove
templating.py.patch tjwarren, 2006-05-17 11:13 patch for roundup/cgi/templating.py
Messages
msg2255 Author: [hidden] (tjwarren) Date: 2006-05-17 11:13
While preparing another patch, I (or rather pychecker) 
found a small bug in roundup/cgi/templating.py -- it 
seems to just be an incorrectly named variable.


Index: roundup/cgi/templating.py
=======================================================
============
--- roundup/cgi/templating.py(revision 11)
+++ roundup/cgi/templating.py(working copy)
@@ -2476,7 +2476,7 @@
 
     def html_quote(self, html):
         '''HTML-quote the supplied text.'''
-        return cgi.escape(url)
+        return cgi.escape(html)
 
     def __getattr__(self, name):
         '''Try the tracker's templating_utils.'''
History
Date User Action Args
2006-05-17 11:13:00tjwarrencreate