[Zope] Re: Exsternal method quote
Andreas Tille
tillea@rki.de
Mon, 28 Oct 2002 10:30:22 +0100 (CET)
On Fri, 25 Oct 2002, Dieter Maurer wrote:
> You say that a Python Script automatically quotes HTML which comes
> from a plain file object?
>
> I do not want to believe this!
Hmm, me too, to be honest.
> Please provide a minimal example (in a small zexp).
> I am curious where the HTML quoting happens...
To prevent posting binaries to this list I putted it on
http://people.debian.org/~tille/quoting.zexp
Explanation:
If I do
return cont[foundname]
in the last line of index_html the HTML-Stuff is quoted.
If I replace this by
return cont[foundname].document_src()
it is not quoted but can only be viewed by authenticated users - i.e.
a passwort identification has to be passed which is not acceptable for
this case.
Thanks for your interest
Andreas.