[Zope] URL quote in python script

Dieter Maurer dieter at handshake.de
Mon Dec 20 12:49:13 EST 2004


David Siedband wrote at 2004-12-19 15:53 -0800:
>urllib.urlquote

The function is "urllib" is called "quote" (or "quote_plus" when
you need to quote values in the query string) and
it is not directly accessible from untrusted code.

The functions designed for untrusted code are in
"Products.PythonScripts.standard" and are called
"url_quote" and "url_quote_plus".

-- 
Dieter


More information about the Zope mailing list