Closed wlang42 closed 10 months ago
I added a ZSQLMethod in ZMI with this statement (I use a Oracle DB):
select 'a<xyz>b' VALUE from dual
and clicked on the "Test" tab.
That the Value a<xyz>b is shown.
a<xyz>b
In the browser i see the value ab (instead of a<xyz>b). Both in the query and in the result table:
ab
Zope-5.9 Python-3.9.5 Products.ZSQLMethods-4.0
It seems that the "html_quote" is missing in some DTML reports. I will provide a PR with a fix and tests...
BUG/PROBLEM REPORT
What I did:
I added a ZSQLMethod in ZMI with this statement (I use a Oracle DB):
select 'a<xyz>b' VALUE from dual
and clicked on the "Test" tab.
What I expect to happen:
That the Value
a<xyz>b
is shown.What actually happened:
In the browser i see the value
ab
(instead ofa<xyz>b
). Both in the query and in the result table:What version of Python and Zope/Addons I am using:
Zope-5.9 Python-3.9.5 Products.ZSQLMethods-4.0
Additional Info
It seems that the "html_quote" is missing in some DTML reports. I will provide a PR with a fix and tests...