Implement timeout for the blockquote banzai filter
What does this MR do and why?
Use a timeout to limit how long the blockquote fence filter can run. Since the regular expression used can not be converted to use the UntrustedRegexp
, this mitigates any potential backtracking problems.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.