Skip to content

issue#121: remove eval func#10

Merged
saicheck2233 merged 1 commit intomasterfrom
issue#121
Jul 11, 2023
Merged

issue#121: remove eval func#10
saicheck2233 merged 1 commit intomasterfrom
issue#121

Conversation

@saicheck2233
Copy link
Copy Markdown
Owner

Link: Issue#121

Description: The script uses the command eval. The usage of the eval command collides with Content-Security-Policies. Those usually deny this command and will block of the data insertation. Allowing this command will allow it everywhere and contradicts the purpose of CSP.
Furthermore, eval poses a security risk where malicious code could be injected and executed. So removing eval and replace with another workaround is needed.

Note: No picture to screenshot as it only happens in the backend.

@saicheck2233 saicheck2233 merged commit 3c5560e into master Jul 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants