Commit d98a56dd authored by Andreas Jung's avatar Andreas Jung

Collector #1322: better debugging: html-quoting sql string

parent 200de2aa
......@@ -24,6 +24,7 @@ from cStringIO import StringIO
import sys, Globals, OFS.SimpleItem, AccessControl.Role
from string import atoi, find, join, split, rstrip
import DocumentTemplate, sqlvar, sqltest, sqlgroup
from DocumentTemplate.html_quote import html_quote
from time import time
from zlib import compress, decompress
from DateTime.DateTime import DateTime
......@@ -331,7 +332,7 @@ class DA(
'<dtml-var manage_tabs>\n<hr>\n%s\n\n'
'<hr><strong>SQL used:</strong><br>\n<pre>\n%s\n</pre>\n<hr>\n'
'</body></html>'
% (r,src))
% (r,html_quote(src)))
report=apply(report,(self,REQUEST),{self.id:result})
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment