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
makes the method CleanUp inside CssParser to never finish and uses 100% of the CPU.
The problem is in CssCommentRegex.Replace in line 113.
I am not good with Regex, so either look at why the Regex stucks in an endless back tracking loop or
add a Regex.MatchTimeout property to end the processing.
Thanks
The text was updated successfully, but these errors were encountered:
Using the css style from this url:
https://assets1-production.mightynetworks.com/assets/mb_mailer_main-6b7073985319ef7f1b2ff77ccc50d90e87e094b4d59d59e9bd335987c5edcad3.css
makes the method CleanUp inside CssParser to never finish and uses 100% of the CPU.
The problem is in CssCommentRegex.Replace in line 113.
I am not good with Regex, so either look at why the Regex stucks in an endless back tracking loop or
add a Regex.MatchTimeout property to end the processing.
Thanks
The text was updated successfully, but these errors were encountered: