19 Dec
2004
19 Dec
'04
8:42 p.m.
Hi, if I create a simple python script in zope (not external), how can I escape a string to pass in a URL? Thanks Eddy
20 Dec
20 Dec
5:49 p.m.
New subject: [Zope] URL quote in python script
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
7776
Age (days ago)
7777
Last active (days ago)
2 comments
3 participants
participants (3)
-
David Siedband -
Dieter Maurer -
Eddy Ilg