egroupware/phpgwapi/inc/horde
Klaus Leithoff cb8cd0f3e6 when having multiple lines descriptions in contacts or calendar, these are not correctly encoded in vcard.
The problem seems to be line [784] of trunk/phpgwapi/inc/horde/Horde/iCalendar.php
$value = str_replace($this->_newline, '\n', $value);
When removing this line, the description value is correct on the client.

I could not find any sideffects during my tests, if some clients have
problems with this, I assume this would then have to be fixed at a higher
level, because the current state with this line just causes broken output.

From wikipedia regarding Linebreaks in QuotedPrintable:
If the data being encoded contains meaningful line breaks, they must be encoded as an ASCII CR LF sequence, not as their original byte values

Vcard extract without the reported line code:
DESCRIPTION;ENCODING=QUOTED-PRINTABLE:Desc 1=0D=0ADesk 2=0D=0A=0D=0A

Vcard extract with the reported line of code
DESCRIPTION;ENCODING=QUOTED-PRINTABLE:Desc 1\nDesk 2\n\n

pointed out by Philip Herbert. Carl Knauber Holding GmbH & Co KG
2008-08-04 08:42:19 +00:00
..
config SyncML patches from patrick.bihan-faou-AT-mindstep.com (without 2007-09-29 10:29:48 +00:00
Horde when having multiple lines descriptions in contacts or calendar, these are not correctly encoded in vcard. 2008-08-04 08:42:19 +00:00
lib make syncml searching in egw-pear too 2007-02-27 06:42:45 +00:00
XML Circumvent a bug in some distributions of apache/mod_php, where an apache 2008-02-19 09:55:59 +00:00
Horde.php first commit of syncml code 2005-06-19 19:00:58 +00:00