egroupware/phpgwapi/inc/horde/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
..
Browser first commit of syncml code 2005-06-19 19:00:58 +00:00
iCalendar removed organizer as required field 2005-07-29 07:31:30 +00:00
RPC support for slowsync with search 2006-03-21 13:49:13 +00:00
SyncML "reverted SyncML part of my NTLM commit from yesterday, as it breaks SyncML: session::verify() is necessary to restore the eGW session (it's NOT used to verify the session)" 2008-07-17 05:51:46 +00:00
Browser.php first commit of syncml code 2005-06-19 19:00:58 +00:00
iCalendar.php when having multiple lines descriptions in contacts or calendar, these are not correctly encoded in vcard. 2008-08-04 08:42:19 +00:00
NLS.php first commit of syncml code 2005-06-19 19:00:58 +00:00
Registry.php first commit of syncml code 2005-06-19 19:00:58 +00:00
RPC.php updated WBXML code to work without external binary 2006-01-11 05:42:07 +00:00
String.php first commit of syncml code 2005-06-19 19:00:58 +00:00
SyncML.php "tiny patch from Andreas Feldner <pelzi-at-flying-snail.de>, allowing for passwords containing a colon" 2007-12-01 01:02:05 +00:00
Util.php first commit of syncml code 2005-06-19 19:00:58 +00:00