[Tickets #7758] iCalendar does not quote/parse parameters correctly

bugs at horde.org bugs at horde.org
Fri Dec 5 15:58:17 UTC 2008


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/7758
------------------------------------------------------------------------------
  Ticket             | 7758
  Created By         | Gunnar Wrobel <p at rdus.de>
  Summary            | iCalendar does not quote/parse parameters correctly
  Queue              | Horde Framework Packages
  Version            | HEAD
  Type               | Bug
  State              | Unconfirmed
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
+New Attachment     | HK-GW-iCalendar-Quoted_parameters.patch
------------------------------------------------------------------------------


Gunnar Wrobel <p at rdus.de> (2008-12-05 10:58) wrote:

Currently iCalendar.php fails to deal with parameter values which  
contain a ";" when importing data. As per RFC 2445 certain parameter  
values need to be quoted. Quoted parameters values are not recognized  
by iCalendar.php.

When exporting data the parameters may not contain all possible  
characters (e.g. control characters would be invalid). In addition  
parameter values that contain a ";", ":", or "," need to be quoted.

Another problem are two byte UTF-8 characters in parameter values: As  
far as I can tell RFC 2445 allows these in an unquoted form.  
Nevertheless Outlook seems to be unable to deal which unquoted  
parameter values when they contain such characters.

See also https://www.intevation.de/roundup/kolab/issue3284

Our suggested solution is to also quote parameter values once there  
are two-byte characters in the string.

Suggested patch attached.





More information about the bugs mailing list