[FIX] cgi removal
bzr revid: xmo@openerp.com-20130927120503-9ubf7vgrt38xjywc
This commit is contained in:
parent
8f42fb75c6
commit
9194f3eb78
|
@ -249,7 +249,7 @@ class QWebXml(object):
|
|||
if 'url_for' not in v:
|
||||
raise KeyError("qweb: no 'url_for' found in context")
|
||||
path = str(v['url_for'](self.eval_format(av, v)))
|
||||
return ' %s="%s"' % (an[2:], cgi.escape(path, 1))
|
||||
return ' %s="%s"' % (an[2:], werkzeug.utils.escape(path))
|
||||
|
||||
# Tags
|
||||
def render_tag_raw(self, e, t_att, g_att, v):
|
||||
|
|
Loading…
Reference in New Issue