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

Change RegExp to only support two nested square brackets #1317

Conversation

snap01
Copy link
Collaborator

@snap01 snap01 commented Mar 22, 2023

Description.

Freeze with 100% CPU due to invalid RegExp #1316

Use RegExp from https://regexr.com/7amue by @kakaroto to only support two nested square brackets

Still to resolve

https:// and http:// icons break due to FoundryVTT replacing them with links and matching too much contents before hooks have access to the html

Types of Changes.

  • Bug fix (non-breaking change which fixes an issue).
  • New feature (non-breaking change which adds functionality).
  • Breaking change (fix or feature that would cause existing functionality to change).

@snap01 snap01 merged commit e573da4 into Miskatonic-Investigative-Society:develop Mar 22, 2023
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.

1 participant