[commits] Imap_Client branch master updated. 16aba47b6c3f358ad5d7b11ec61dc0bdae7f5de9

Michael J. Rubinsky mrubinsk at horde.org
Sat Mar 30 18:38:37 UTC 2024


The branch "master" has been updated.
The following is a summary of the commits.

from: 5089b95d16712c40d1eb76dfec427115a2467e8a

16aba47 fix: STORE for iCloud and other strict IMAP servers

Summary: https://github.com/horde/Imap_Client/compare/5089b95d1671...16aba47b6c3f

-----------------------------------------------------------------------

commit 16aba47b6c3f358ad5d7b11ec61dc0bdae7f5de9
Author: Anna Larch <anna at nextcloud.com>
Date:   Sat, 30 Mar 2024 14:38:35 -0400

fix: STORE for iCloud and other strict IMAP servers

Apple's iCloud IMAP server (and possibly others, although I haven't tested it) want brackets around any
FLAG command params as shown in the examples of [RFC3501](https://datatracker.ietf.org/doc/html/rfc3501#section-6.4.6])
If the brackets aren't added, the command fails with BAD Parse Error
To fix this, wrap the params of a STORE command in a Horde_Imap_Client_Data_Format_List
Otherwise, the \Delete FLAG, \Seen FLAG and possibly all other PERMFLAGs aren't added, even if the
STORE command doesn't return a BAD response.

Signed-off-by: Anna Larch <anna at nextcloud.com>

 M lib/Horde/Imap/Client/Socket.php

https://github.com/horde/Imap_Client/commit/16aba47b6c3f358ad5d7b11ec61dc0bdae7f5de9


More information about the commits mailing list