Commit 398c5bc8 authored by Tres Seaver's avatar Tres Seaver

Prevent sandbox escape via 'BaseRequest.traverseName'.

Fixes LP #1095343.
parent 162b2dbb
......@@ -346,6 +346,7 @@ class BaseRequest:
ob2 = adapter.publishTraverse(self, name)
return ob2
traverseName__roles__ = ()
def traverse(self, path, response=None, validated_hook=None):
"""Traverse the object space
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment