[Zope] urllib from DTML?

Nbk nbk@cyberdude.com
Thu, 27 Apr 2000 20:12:42 +0100


Chris McDonough said:

 ><dtml-var "mystring" url_quote>
 >
 >or
 >
 >&dtml.url_quote-myattr;

   You could also use this:

<dtml-var "mystring" url_quote_plus>

'url_quote_plus' -- like url_quote but also replace blank
space characters with '+'. This is needed for building
query strings in some cases.

( in [zope root]/lib/python/DocumentTemplate/DT_Var.py )

@841, Nbk