[Bug]: iMIP REPLY does not update attendee status when email address contains uppercase letters

Ouverte
#66,610 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

Personne n'a encore pris cette issue.

Évaluation

Difficulté
3/5
Temps estimé
1-2 jours
Accessibilité débutants
50/100
Type d'issue
Bug
Clarté
Plutôt claire
Activité
Active
Stack technique
php
Domaine
backend

Piste de recherche

The payload names no files, so start by searching the server code for where an incoming iMIP METHOD:REPLY is matched to an event's ATTENDEE, then compare how the address is compared with the stored one. Reproduce with an event whose attendee has mixed-case letters and a REPLY whose address differs only in case. Done when PARTSTAT changes to ACCEPTED in both the mixed-case and lowercase cases, with a test covering the mixed-case path.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

0. Needs triage 35-feedback bug feature: caldav
Bug description

When an external attendee accepts a Nextcloud calendar invitation in Microsoft Outlook, Nextcloud does not update the attendee's participation status if the attendee email address was entered with uppercase letters when creating/sending the invitation.

Entering the same email address entirely in lowercase makes the workflow work correctly.

This suggests that attendee matching while processing an incoming iMIP METHOD:REPLY is case-sensitive, although email addresses are case-insensitive.

Steps to reproduce
  1. Create a calendar event in Nextcloud Calendar.
  2. Add an external attendee using an email address containing uppercase letters (for example, [email protected]).
  3. Send the invitation.
  4. Accept the invitation in Microsoft Outlook using the normal Outlook Calendar Accept action.
  5. Let Nextcloud Mail process the incoming iMIP reply.
Actual behavior

The attendee remains in NEEDS-ACTION / "Waiting for response" in Nextcloud Calendar, even though Outlook has sent an acceptance reply.

Expected behavior

Nextcloud should match the attendee in the incoming iMIP reply independently of the letter casing of the email address and update the participation status to ACCEPTED.

Workaround

If the attendee email address is entered entirely in lowercase when sending the invitation, accepting it in Outlook works and the status is updated correctly.

Additional information

The issue was reproduced with Nextcloud-generated invitations and Outlook replies. The invitation and reply used the same event UID. The received reply contained METHOD:REPLY and an attendee with PARTSTAT=ACCEPTED.

The problem was also observed with other participants/domains, so it does not appear to be specific to one Outlook address.

Environment
  • Nextcloud Server: 35.0.2.2
  • Calendar app: 6.6.3
  • Mail app: 5.12.5
  • Deployment: Docker
  • Client accepting the invitation: Microsoft Outlook
  • Server platform: Raspberry Pi 5
Notes

This report concerns processing an incoming iMIP reply and matching its attendee address against the attendee stored in the calendar event.

Langage dominant
PHP
Étoiles
37.5k
Forks
5.4k
Merge moyen
1 j 13 h
PR mergées (30 j)
639

Préparer son environnement

Ouvrir dans Codespaces

Lance le conteneur de développement du projet dans votre navigateur, avec votre propre compte GitHub.

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de nextcloud/server

Toutes les issues de nextcloud/server

Issues similaires

Plus d'issues PHP

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.