Files
sogo/UI/WebServerResources
Hadrien Blanc 82e49b5eab fix(mail): replace the previous signature when switching identity
setFromIdentity located the previous signature by embedding its HTML
in a regular expression. Metacharacters, plain text and CKEditor's
<br> serialization made the search miss, and the regex-too-large
fallback appended the new signature.

The delimiter is now matched with a fixed-size pattern. The signature
body is compared as text, from the end of the break that follows the
dash. A missed match is null. One missing blank line before the
delimiter is still recognized.

Fixes #6168
Fixes #6214
Fixes #5695
2026-11-13 16:54:27 +01:00
..