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

Broker.processMessageRequest blindly trusts the iTip message #365

Open
ddolcimascolo opened this issue Jan 24, 2017 · 4 comments
Open

Broker.processMessageRequest blindly trusts the iTip message #365

ddolcimascolo opened this issue Jan 24, 2017 · 4 comments
Labels

Comments

@ddolcimascolo
Copy link
Contributor

Hi again,

When the iTip broker processes a REQUEST message, it blindly overwites all VEVENT components from the original event (if present). This is wrong as per the iTip spec for occurrences because the organizer might send an update for a single exception only, and the iTip does not contain the master VEVENT in this case.

I'm opening a PR to support both cases, let me know what you think, then I can write a complete test suite to validate the change.

Regards,

@ddolcimascolo ddolcimascolo changed the title Broken.processMessageRequest blindly trusts the iTip message Broker.processMessageRequest blindly trusts the iTip message Jan 24, 2017
ddolcimascolo pushed a commit to linagora/sabre-vobject that referenced this issue Jan 24, 2017
ddolcimascolo pushed a commit to linagora/sabre-vobject that referenced this issue Jan 24, 2017
@evert
Copy link
Member

evert commented Jan 29, 2017

Hi @ddolcimascolo ,

Could you point me to the relevant standards that support this? I thought that REQUEST is really always a replacement. For instance, if I receive a second REQUEST that only has 1 occurence, I would assume that I'm un-invited to all other instances except that one.

I might be wrong though, but I had some trouble finding the answer in RFC5546

@evert evert added the bug label Jan 29, 2017
@ddolcimascolo
Copy link
Contributor Author

Hi @evert,

There's a nice example in https://tools.ietf.org/html/rfc5546#section-4.4.2
Also in constraints table in https://tools.ietf.org/html/rfc5546#section-3.2.2 you can see mentions of the use of RECURRENCE-ID to identify occurrences versus series.

Regards,
David

@evert
Copy link
Member

evert commented Jan 30, 2017

Hi @ddolcimascolo ,

Great examples. Sorry for not finding them, always a bit hard to get into it when you've been out of it for a little bit =)

@evert
Copy link
Member

evert commented Jan 30, 2017

But yea based on this, this sounds like a great idea. Having some of those unittests would be great to validate your changes =)

SurionA pushed a commit to linagora/sabre-vobject that referenced this issue Sep 12, 2017
bot-linagora pushed a commit to linagora/sabre-vobject that referenced this issue Nov 5, 2018
bot-linagora pushed a commit to linagora/sabre-vobject that referenced this issue Feb 26, 2019
bot-linagora pushed a commit to linagora/sabre-vobject that referenced this issue Mar 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants