Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
d98a56dd
Commit
d98a56dd
authored
May 16, 2004
by
Andreas Jung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Collector #1322: better debugging: html-quoting sql string
parent
200de2aa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
lib/python/Shared/DC/ZRDB/DA.py
lib/python/Shared/DC/ZRDB/DA.py
+2
-1
No files found.
lib/python/Shared/DC/ZRDB/DA.py
View file @
d98a56dd
...
@@ -24,6 +24,7 @@ from cStringIO import StringIO
...
@@ -24,6 +24,7 @@ from cStringIO import StringIO
import
sys
,
Globals
,
OFS
.
SimpleItem
,
AccessControl
.
Role
import
sys
,
Globals
,
OFS
.
SimpleItem
,
AccessControl
.
Role
from
string
import
atoi
,
find
,
join
,
split
,
rstrip
from
string
import
atoi
,
find
,
join
,
split
,
rstrip
import
DocumentTemplate
,
sqlvar
,
sqltest
,
sqlgroup
import
DocumentTemplate
,
sqlvar
,
sqltest
,
sqlgroup
from
DocumentTemplate.html_quote
import
html_quote
from
time
import
time
from
time
import
time
from
zlib
import
compress
,
decompress
from
zlib
import
compress
,
decompress
from
DateTime.DateTime
import
DateTime
from
DateTime.DateTime
import
DateTime
...
@@ -331,7 +332,7 @@ class DA(
...
@@ -331,7 +332,7 @@ class DA(
'<dtml-var manage_tabs>
\
n
<hr>
\
n
%s
\
n
\
n
'
'<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
'
'<hr><strong>SQL used:</strong><br>
\
n
<pre>
\
n
%s
\
n
</pre>
\
n
<hr>
\
n
'
'</body></html>'
'</body></html>'
%
(
r
,
src
))
%
(
r
,
html_quote
(
src
)
))
report
=
apply
(
report
,(
self
,
REQUEST
),{
self
.
id
:
result
})
report
=
apply
(
report
,(
self
,
REQUEST
),{
self
.
id
:
result
})
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment