Hi, I'm building hyperlinks in python scripts based on objects (Zope 2.3.3). This works till no object has space or special (French) character in its id. Unfortunately, I did dot find the way to have an url_quote in a python script (can't import urllib) like in a <dtml-var... url_quote>. Thanks in advance. --Gilles PS: Where's the wish list for next versions of Zope. Some kind of "Unrestricted python scripts" available to managers only would be so cool !
from Products.PythonScripts.standard import url_quote ...should work On Monday 24 December 2001 14:13, Gilles Lenfant wrote:
Hi,
I'm building hyperlinks in python scripts based on objects (Zope 2.3.3). This works till no object has space or special (French) character in its id. Unfortunately, I did dot find the way to have an url_quote in a python script (can't import urllib) like in a <dtml-var... url_quote>.
Thanks in advance.
--Gilles
PS: Where's the wish list for next versions of Zope. Some kind of "Unrestricted python scripts" available to managers only would be so cool !
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
participants (2)
-
Gilles Lenfant -
Peter Bengtsson