mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-11-18 06:11:20 +00:00
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
Tests
This directory holds automated tests for SOGo.
specandlib: hold JavaScript driven interated tests that are used to validate overall DAV functionalityUnit: holds all unit tests
Tools
- Jasmin - testing framework
- tsdav - webdav request helper
- ical.js - ics and vcard parser
- cross-fetch - fetch API
- xml-js - convert JS object to XML