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

Make sure the relation tuple regex parser is safe #3

Open
getlarge opened this issue Jan 16, 2024 · 0 comments
Open

Make sure the relation tuple regex parser is safe #3

getlarge opened this issue Jan 16, 2024 · 0 comments

Comments

@getlarge
Copy link
Owner

As spotted by Sonarcloud, the regular expression used here might not be safe.

  • One could improve the regex or split the processing in multiple steps using JS string methods.
  • Or wrap the Regex operation in VM as suggested in SO, which would not work in browser though.
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

No branches or pull requests

1 participant