You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looks like the current linkify regular expression does not handle well strings with a significant number of whitespaces characters in a row (potentially a Catastrophic backtracking regex condition / ReDoS?)
Here is a reduced test case that replicates the root issue showing the potential regex fix and the current regex crashing
The text was updated successfully, but these errors were encountered:
tregoning
added a commit
to tregoning/ansi-to-react
that referenced
this issue
Jul 18, 2021
Looks like the current linkify regular expression does not handle well strings with a significant number of whitespaces characters in a row (potentially a Catastrophic backtracking regex condition / ReDoS?)
Here is a reduced test case that replicates the root issue showing the potential regex fix and the current regex crashing
The text was updated successfully, but these errors were encountered: