Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot access resources starting with "_" #10

Open
Gagaro opened this issue Feb 1, 2016 · 0 comments
Open

Cannot access resources starting with "_" #10

Gagaro opened this issue Feb 1, 2016 · 0 comments

Comments

@Gagaro
Copy link
Member

Gagaro commented Feb 1, 2016

This is due to the use of traversing:

https://github.com/plone/plone.resource/blob/master/plone/resource/directory.py#L58
https://github.com/plone/plone.resource/blob/master/plone/resource/directory.py#L61
...

Name cannot start with _ (https://github.com/zopefoundation/Zope/blob/master/src/OFS/Traversable.py#L206-L208).

This cause issue in plone.app.theming when trying to copy a theme with a file starting with a _ for example.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant