[Zope-CMF] Re: urllib in /skin/, Unauthorized: You are not allowed to access 'quote' in this context

Hans Schou hans at mmmanager.org
Fri Feb 24 09:15:18 EST 2006

suresh wrote:

> you have to:
> allow_module('urllib')

Thanks. I have added it in __init__.py file.

Someone else told me to use:
from Products.PythonScripts.standard import urlencode
foo = urlencode("hello world")

-------------- next part --------------
A non-text attachment was scrubbed...
Name: hans.vcf
Type: text/x-vcard
Size: 258 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope-cmf/attachments/20060224/f5025d63/hans.vcf

More information about the Zope-CMF mailing list