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

Add input checks #2

Open
ncoonrod opened this issue Jan 21, 2022 · 0 comments
Open

Add input checks #2

ncoonrod opened this issue Jan 21, 2022 · 0 comments

Comments

@ncoonrod
Copy link
Member

JSON.parse is already used to partially sanitize any incoming data, however this obviously is not enough. We have to check the JSON input to ensure each type is correct and add an optional function for the dev to ensure the input is valid.

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