[Zope] Re: [Zope-dev] getURL and url_quoting

Dieter Maurer dieter@handshake.de
Mon, 28 Jan 2002 18:52:12 +0100


Chris Withers writes:
 > The entity syntax for DTML (&dtml-;) automatically url-quotes the result.
But it should not according to the specification!

  First of all "&dtml-XXX" does html_quote and not url_quote.
  Then, Lambert used "&dtml.-XXX" which should do nothing.

I expect, the problem is already in "getURL".
It "knows" that the ZCatalog path may contain characters illegal
in URL (such as space) and therefore url_quotes the result.
This is unfortunate for your case.

May might use a "Direct Traversal" (--> ZSQL advanced feature)
or "Python Script Traversal Subpath" approach to work around the
problem. In both cases, you would replace the query string by
path components.


Dieter