no security check on accessing the nodeType attribute during traversal
git-svn-id: svn://svn.cy55.de/Zope3/src/loops/trunk@3438 fd906abe-77d9-0310-91a1-e0d9ade77398
This commit is contained in:
parent
e5a0405e56
commit
5fd90c421d
1 changed files with 1 additions and 1 deletions
|
@ -788,7 +788,7 @@ class NodeTraverser(ItemTraverser):
|
||||||
def publishTraverse(self, request, name):
|
def publishTraverse(self, request, name):
|
||||||
viewAnnotations = request.annotations.setdefault('loops.view', {})
|
viewAnnotations = request.annotations.setdefault('loops.view', {})
|
||||||
viewAnnotations['node'] = self.context
|
viewAnnotations['node'] = self.context
|
||||||
if self.context.nodeType == 'menu':
|
if removeSecurityProxy(self.context).nodeType == 'menu':
|
||||||
setViewConfiguration(self.context, request)
|
setViewConfiguration(self.context, request)
|
||||||
if name == '.loops':
|
if name == '.loops':
|
||||||
return self.context.getLoopsRoot()
|
return self.context.getLoopsRoot()
|
||||||
|
|
Loading…
Add table
Reference in a new issue