Skip to content

v0.244.1: p Harden email CSS parsing to prevent infinite loops

Choose a tag to compare

@jsnjack jsnjack released this 28 Aug 13:40
· 13 commits to main since this release
- Scope email `<style>` blocks individually to isolate malformed CSS
- Add `stripPreludeSemicolons` to remove semicolons in selector positions that cause douceur parser hangs
- Implement `parseStylesheet` as a single hardened entry point for CSS parsing
- Add `cssParseTimeout` as a backstop for unknown parser pathologies
- Add `FuzzScopeEmailCSS` to catch future parser issues