Skip to content

Make mono CSP Compliant #59416

@TanayParikh

Description

@TanayParikh

Whilst investigating improving CSP compliance in Blazor, I found that Blazor WASM requires unsafe-eval due to mono's usage of eval:

const fn_res = eval (fn_eval_str);

This issue is to examine feasibility of removing this dependency on eval so that unsafe-eval is no longer required in the Blazor WASM CSP.


For reference, I found this article to be helpful for understanding CSP peculiarities (eval section).

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions