cypht-org / cypht

Cypht: Lightweight Open Source webmail aggregator [PHP, JS]. Supports IMAP/SMTP, JMAP and soon EWS
http://cypht.org
GNU Lesser General Public License v2.1
1.01k stars 164 forks source link

fix multibyte handling in imap literals and address splitting, improve unit tests #1230

Closed kroky closed 2 months ago

kroky commented 2 months ago

fix imap::read_literal to work on 7-bit bytes rather than multibyte strings, fix imap unit tests and add tests for recent bugs: accidentally reading next lines of literals and not splitting addresses correctly

kroky commented 2 months ago

Supersedes: https://github.com/cypht-org/cypht/pull/1217

indridieinarsson commented 2 months ago

Worth mentioning that this PR should also fix issue #1119