Usage of Function
means that Content Security Policy for websites using Label Studio must include 'unsafe-eval'
#7189
Labels
Currently, since Label Studio is using
Function
in theutils.js
file for Label Studio's Data Manager's utilities, anyone that wants to use Label Studio must allow 'unsafe-eval' in their Content Security Policy (CSP) on the website which uses Label Studio:label-studio/web/libs/datamanager/src/components/Common/Table/utils.js
Line 16 in 827e3a6
I suggest fixing this by using a different implementation.
The text was updated successfully, but these errors were encountered: