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

Support ifc format #61

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft

Conversation

PVince81
Copy link
Contributor

@PVince81 PVince81 commented Apr 1, 2022

image

I'm wondering if we should allow to disable loaders in the configuration, this way if someone is not using formats like IFC they could disable it and bypass the security concerns.

Signed-off-by: Vincent Petry <[email protected]>
Signed-off-by: Vincent Petry <[email protected]>
@PVince81
Copy link
Contributor Author

PVince81 commented Apr 1, 2022

or switch to a different loader that doesn't require eval...

@PVince81
Copy link
Contributor Author

PVince81 commented Apr 1, 2022

I managed to temporarily hack the CSP rules to move forward, and now the next error:
image

@v1r0x
Copy link
Owner

v1r0x commented Apr 1, 2022

I'm wondering if we should allow to disable loaders in the configuration, this way if someone is not using formats like IFC they could disable it and bypass the security concerns.

I wouldn't add configuration for each loader. Instead I'd add a setting to enable/disable all loaders that e.g. require eval or any other kind of additional configuration

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

Successfully merging this pull request may close these issues.

2 participants