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

Prevent API crash by sanitizing user input strings #32

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jrizzle4shizzle
Copy link

If a user includes invalid Roll20 API markup in their player or character name, the TurnMarker crashes. By sanitizing the names, we prevent ignorant or malicious players from crashing the API.

Character and player names are end-user controlled, and can contain invalid characters that will cause the API to crash.
@shdwjk
Copy link
Owner

shdwjk commented Jul 10, 2021

Sorry, I just noticed this. I'll take a look and see about integrating your suggestions. I actually do all my development in a different repo, so merging directly here isn't part of my process, but I appreciate you taking the time to send this issue to me, complete with a possible solution!

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