#74 Do not escape double quote character " to \" in iCalendar ou

open
nobody
None
5
2011-07-29
2011-07-29
Philipp Kewisch
No

See also Mozilla bug: https://bugzilla.mozilla.org/show_bug.cgi?id=523860
Note the patch there does not contain fixes to tests, i.e libical/src/test/regression.c

-- Original Bugreport --

Do not escape double quote character " to \" in iCalendar output (potential RFC 2445 violation)

Reproducible: Always

Steps to Reproduce:
1. Create new event an enter the following description:
Meeting to provide technical review for "Phoenix" design.
Happy Face Conference Room. Phoenix design team MUST attend this meeting.
RSVP to team leader.
2. Export event into the iCalendar format and check the output
Actual Results:
Double quote character " has been escaped to \"

> DESCRIPTION:Meeting to provide technical review for \"Phoenix\" design.\nH
> appy Face Conference Room. Phoenix design team MUST attend this meeting.\n
> RSVP to team leader.

Expected Results:
Double quote character " is not escaped as shown in the example of the Description property in RFC2445 <http://tools.ietf.org/html/rfc2445#section-4.8.1.5>

> DESCRIPTION:Meeting to provide technical review for "Phoenix"
> design.\n Happy Face Conference Room. Phoenix design team
> MUST attend this meeting.\n RSVP to team leader.

Discussion