[Zope] Security Problems upgrading to Zope 2.2.0

Aleksander Salwa ololo@zeus.polsl.gliwice.pl
Mon, 21 Aug 2000 20:29:31 +0200 (CEST)


On Mon, 21 Aug 2000, Stefan Bambach wrote:

> class test:
>   def __init__(self):
>     pass
>   def sayhello(self):
>     return "hello"
> 
> def initialize(self):
>   return test()
> 

> 
> What's wrong with this code ?

Try to add this attribute to your class 'test':

__allow_access_to_unprotected_subobjects__ = 1



ololo@zeus.polsl.gliwice.pl

/--------------------------------------\
| `long long long' is too long for GCC |
\--------------------------------------/