Resolution for bug #558: when restrictedTraverse() traverses using a
__bobo_traverse__ hook, and the hook returns an object that comes from some other container, the security policy may incorrectly deny access. This fix determines the container of the object based on its aquisition wrappers, if available, and passes it to validate(). Also added a corresponding unit test.
Showing
Please register or sign in to comment