Control: forwarded -1 
http://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=3354

Hi Paul,

On Fri, 19 Dec 2014 00:18:00 +0100
Paul Boddie <[email protected]> wrote:

> Package: claws-mail-vcalendar-plugin
> Version: 3.11.1-3
> Severity: normal
> 
> Dear Maintainer,
> 
> I have been experimenting with Claws Mail for calendaring and found that
> when cancelling events as an organiser, Claws (or rather the vCalendar
> plugin) sends a mail with an inappropriate Content-Type parameter for the
> scheduling method.
> 
> According to RFC 6047 (iMIP)...
> 
> "The [RFC2045] "Content-Type" header field MUST also include the MIME
> parameter "method".  The value MUST be the same (ignoring case) as the
> value of the "METHOD" property within the iCalendar object."
> 
> http://tools.ietf.org/html/rfc6047#section-2.4
> 
> However, in a cancellation object, METHOD will be CANCEL, and thus the
> Content-Type must also employ a method parameter with the value "CANCEL".
> Instead, Claws' vCalendar plugin seems to use "REQUEST".
> 
> The upstream code that is probably responsible for this is here:
> 
> http://git.claws-mail.org/?p=claws.git;a=blob;f=src/plugins/vcalendar/vcal_manager.c;h=a21c6a859f888fa3f8950e381dc4f9122e9903f3;hb=HEAD#l1238
> 
> Here is what is produced:
> 
> Content-Type: text/calendar; method=REQUEST; charset="UTF-8"
> Content-Transfer-Encoding: 8bit
> Message-ID: <[email protected]>
> 
> BEGIN:VCALENDAR
> VERSION
>  :2.0
> PRODID
>  :-//Claws Mail//NONSGML Claws Mail Calendar//EN
> CALSCALE
>  :GREGORIAN
> METHOD
>  :CANCEL
> 
> Note the mismatch between the Content-Type method value and the iCalendar
> METHOD property.


Right, code seems to ignore cancellations and uses request type as fallback.

> I hope this is informative! Apologies in advance if I should have reported
> this directly upstream.

No problem, I'm forwarding it now. Thanks for the detailed report.

best regards,
-- 
 Ricardo Mones
 http://people.debian.org/~mones
 «Murphy's Law is recursive. Washing your car to make it rain doesn't 
 work.»

Attachment: pgpBn3Beto0pt.pgp
Description: OpenPGP digital signature

Reply via email to