Closed marstamm closed 1 week ago
I cannot use the FEEL editor or Forms.
I can use it
This is caused by the FEEL editor using new Function(), which is disallowed if unsafe-eval CSP header is not set. This was not caught during integration because it is allowed in the dev setup. This only breaks in release builds.
new Function()
unsafe-eval
https://github.com/bpmn-io/feel-editor/blob/75b6e9897745386f86af7ac56b45f7dc70ed830e/src/language/index.js#L27
Closed with https://github.com/camunda/camunda-modeler/pull/4399
Describe the bug
I cannot use the FEEL editor or Forms.
Steps to reproduce
Expected behavior
I can use it
Environment
Additional context
This is caused by the FEEL editor using
new Function()
, which is disallowed ifunsafe-eval
CSP header is not set. This was not caught during integration because it is allowed in the dev setup. This only breaks in release builds.https://github.com/bpmn-io/feel-editor/blob/75b6e9897745386f86af7ac56b45f7dc70ed830e/src/language/index.js#L27