After applying proper CSP-settings, the validator does not work anymore. Console shows:
EvalError: Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script
Unfortunately, "unsafe-eval" is prohibited in lots of governmental organisations or Top-500 companies.
Note: The application connects to a REST-Service and the schemas are not known at build-time. Instead they are downloaded from the REST-API.
After applying proper CSP-settings, the validator does not work anymore. Console shows:
EvalError: Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of scriptUnfortunately, "unsafe-eval" is prohibited in lots of governmental organisations or Top-500 companies.
Note: The application connects to a REST-Service and the schemas are not known at build-time. Instead they are downloaded from the REST-API.