Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lint with eslint #141

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

Lint with eslint #141

wants to merge 6 commits into from

Conversation

vixalien
Copy link
Owner

@vixalien vixalien commented May 9, 2024

No description provided.

return str
.replace(/\"/g, '\\"')
.replace(/\'/g, "\\'");
return str.replace(/"/g, '\\"').replace(/'/g, "\\'");

Check failure

Code scanning / CodeQL

Incomplete string escaping or encoding High

This does not escape backslash characters in the input.
return str
.replace(/\"/g, '\\"')
.replace(/\'/g, "\\'");
return str.replace(/"/g, '\\"').replace(/'/g, "\\'");

Check failure

Code scanning / CodeQL

Incomplete string escaping or encoding High

This does not escape backslash characters in the input.
@vixalien vixalien linked an issue May 17, 2024 that may be closed by this pull request
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.

Reintroduce eslint
1 participant