google / google/draco

CSP failing on new Function causing 'default-src unsafe-eval'

Open
#1,104 1 comment 2 reactions 0 assignees View on GitHub
bug
Dominant language
C++
Stars
7.5k
Forks
1.1k
Avg merge
47m
Merged PRs (30d)
1

Description

![Image](https://github.com/user-attachments/assets/230cc212-2369-4a88-8ebd-3ffadd5df195)

The context of where the error occurs I am not exactly sure about, but enabling a CSP requires unsafe-eval for draco-compression (and basis compressing for textures also has the same issue).

Is there a workaround for this so I can enable the CSP without allowing unsafe-eval?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.