Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update from upstream #3

Open
wants to merge 36 commits into
base: iserv
Choose a base branch
from
Open

Update from upstream #3

wants to merge 36 commits into from

Conversation

Xenira
Copy link

@Xenira Xenira commented Jan 29, 2025

No description provided.

ChristophWurst and others added 30 commits December 18, 2021 15:12
Signed-off-by: Christoph Wurst <[email protected]>
Signed-off-by: Christoph Wurst <[email protected]>
Signed-off-by: Christoph Wurst <[email protected]>
    - maintain usage of json encoding to save cache storage where possible
    - remove associative arrays in favor of numerically indexed arrays
      when serializing.
After reviewing performance on newer PHP versions it
doesn't appear that this optimization is worth it, and
could in fact perform worse.
Signed-off-by: Christoph Wurst <[email protected]>
…__serialize() and Cannot redeclare Horde_Imap_Client_Cache_Backend_Cache::__serialize()
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 <[email protected]>
fix: STORE for iCloud and other strict IMAP servers
Fix Fatal errors : Cannot redeclare Horde_Imap_Client_Cache_Backend::…
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

9 participants