Patch for DirectoryResource to allow traversal
This allows for resources in the form of ++resource++foo/css/bar.css to be traversed by tools like the ResourceRegistries. Original fix adapted from collective.jqueryui.
- Check for parent __roles__ before copying, because a five.grok ZopeTwoDirectoryResource parent does not have __roles__
- Initial release
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size & hash||File type||Python version||Upload date|
|collective.directoryresourcepatch-1.1.tar.gz (10.0 kB) View hashes||Source||None|
Hashes for collective.directoryresourcepatch-1.1.tar.gz