Skip to content

avoid ambiguous regex in striptags#293

Merged
davidism merged 1 commit into
mainfrom
striptags-regex
Mar 14, 2022
Merged

avoid ambiguous regex in striptags#293
davidism merged 1 commit into
mainfrom
striptags-regex

Conversation

@davidism
Copy link
Copy Markdown
Member

Split up regex used by striptags to handle comments before tags. This avoids ambiguous regex matches which could lead to backtracking.

@davidism davidism added this to the 2.1.1 milestone Mar 14, 2022
@davidism davidism merged commit 24512e7 into main Mar 14, 2022
@davidism davidism deleted the striptags-regex branch March 14, 2022 16:01
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Mar 29, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant