CSP issue with defiant.js

At a customers sugar we are using defiantjs  to be able to search withing complex json structures. This has been working as expected untill we moved to the cloud. We are in the process of moving the customer to the cloud and are having issues with the CSP module. For some reason when defiant.js is initialized it throws the following error: 

Uncaught DOMException: Failed to construct 'Worker': Access to the script at 'blob:https://wupgrade-eu.wsysnet.com/282c123d-0260-4fca-bde2-e77acd3888cf' is denied by the document's Content Security Policy.
    at Object.setup (<instance>/cache/include/javascript/sugar_grp7.min.js?v=yFocGt0pSAF7ZRBJJ6f6EA:387:12826)
    at Object.compile (<instance>/cache/include/javascript/sugar_grp7.min.js?v=yFocGt0pSAF7ZRBJJ6f6EA:387:13293)
    at <instance>/cache/include/javascript/sugar_grp7.min.js?v=yFocGt0pSAF7ZRBJJ6f6EA:387:15355

I was wondering if someone encountered a similar issue with their custom javascript code and if so how can we fix it? do you have any idea on how to solve? It seems that blob: is not allowed in the csp admin module?

Parents Reply Children
No Data