should not xml_escape rql stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 08 Dec 2009 19:23:44 +0100
branchstable
changeset 4060 4067cd36718f
parent 4058 b3578583b57b
child 4061 e1fba59b5c34
child 4062 d16b2927afe6
should not xml_escape rql
view.py
--- a/view.py	Tue Dec 08 19:20:39 2009 +0100
+++ b/view.py	Tue Dec 08 19:23:44 2009 +0100
@@ -462,7 +462,7 @@
         return self.build_js(cbname, xml_escape(msg or ''))
 
     def build_update_js_call(self, cbname, msg):
-        rql = xml_escape(self.rset.printable_rql())
+        rql = self.rset.printable_rql()
         return "javascript:userCallbackThenUpdateUI('%s', '%s', %s, %s, '%s', '%s')" % (
             cbname, self.__regid__, dumps(rql), dumps(msg),
             self.__registry__, self.div_id())