[Tickets #4076] NEW: export vcard - escape of ;

bugs@bugs.horde.org bugs at bugs.horde.org
Fri Jun 23 08:11:42 PDT 2006


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

Ticket URL: http://bugs.horde.org/ticket/?id=4076
-----------------------------------------------------------------------
 Ticket             | 4076
 Created By         | etiennesky at yahoo.com
 Summary            | export vcard - escape of ;
 Queue              | Turba
 Version            | 2.1.1
 State              | Unconfirmed
 Priority           | 2. Medium
 Type               | Bug
 Owners             | 
-----------------------------------------------------------------------


etiennesky at yahoo.com (2006-06-23 08:11) wrote:

When I export in vcard, there are numerous ";" that
are converted to "\;" where they should not be.

This happens in the "N" (name) and "ADR" (adress)
fields,  when the values are empty.

As an example, here is part of one entry:

-----
N:Aerotechnik\;\;\;\;
ADR;TYPE=HOME:\;\;\;\;\;\;
ADR;TYPE=WORK:\;\;\;\;\;\;
-----

but it should read:
-----
N:Aerotechnik;;;;
ADR;TYPE=HOME:;;;;;;
ADR;TYPE=WORK:;;;;;;
-----


The problem is that is escapes ";" even when it is used
as a field seperator. 

The code is in horde/lib/Horde/iCalendar.php in
function _exportvData on line 790.




More information about the bugs mailing list