Scheduler CSP plugin does not work

Hi,

CSP plugin does not seem to work.

dhtmlxscheduler.js executes this line of code when loading:

/* Could be redifined */
scheduler.templates.tooltip_date_format = scheduler.date.date_to_str("%Y-%m-%d %H:%i");

as csp plugin is loaded after dhtmlxscheduler, there is no way this works as CSP is already violated (because date_to_str by default uses eval). I’d be grateful for any ideas.

Best Regards,
Mateusz

Hello,

Thank you for the message.
I confirm the bug, it will be solved in the next release. Please contact the support team to get a fix faster if you are a licensed client.

Please, don’t repost the same question in multiple threads in the future.


Update: the bug already fixed.

1 Like