[Zope] URL quoting in python

Chris McDonough chrism@digicool.com
Thu, 20 Jul 2000 19:25:26 -0400


> Didn't happen for me (Zope 2.2b4).  I got
> Invalid attribute name, "url_quote", for tag <dtml-call 
> "REQUEST.set('URL', 
>    URL2+'?action=Add Material 
> Info&product_number='+product_number)" url_quote>,
>     on line 195 of index_html
> 
> It also fails for <dtml-return>... It looks like url_quote is 
> only applicable
> to <dtml-var>...which is sort of painful.

Considering dtml-call has no return value which can be url_quoted, it's
not all that surprising.  url_quote takes action on the value rendered.
Since there can by definition be nothing to render when using dtml-call,
url_quote can't be supported on it.