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

#78 Materia.Engine does not check if received POST messages are valid #79

Merged
merged 2 commits into from
Aug 1, 2019
Merged

#78 Materia.Engine does not check if received POST messages are valid #79

merged 2 commits into from
Aug 1, 2019

Conversation

Goff-Davis
Copy link
Contributor

For issue #78

  • Added check of e.data in a POST request before it is passed to JSON.parse

Copy link
Contributor

@FrenjaminBanklin FrenjaminBanklin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The same issue this solves occurs in the creator core, which also has an _onPostMessage method that acts the same as the one in the engine core.

This solution should work there as well. Also don't forget to add tests to account for the new branches.

@clpetersonucf clpetersonucf merged commit 87a2f98 into ucfopen:dev/2.1.0 Aug 1, 2019
@Goff-Davis Goff-Davis deleted the issue/78-post-message-check branch October 9, 2019 13:17
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.

3 participants