[Tickets #14673] Re: Handling bad VCARD format from the iPhone.

noreply at bugs.horde.org noreply at bugs.horde.org
Sat Jul 29 12:24:58 UTC 2017


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

Ticket URL: https://bugs.horde.org/ticket/14673
------------------------------------------------------------------------------
  Ticket             | 14673
  Updated By         | budaycsaba at gmail.com
  Summary            | Handling bad VCARD format from the iPhone.
  Queue              | Turba
  Version            | 4.2.18
  Type               | Enhancement
  State              | New
  Priority           | 1. Low
  Milestone          |
  Patch              | 1
  Owners             |
------------------------------------------------------------------------------


budaycsaba at gmail.com (2017-07-29 12:24) wrote:

Sorry, I forgot to mention that the diff is for turba/lib/Driver.php

> Configuration: horde and iOS contact are kept in sync using with CardDAV.
> Horde is installed from the debian distribution (debian stretch).
>
> When adding contacts, the user may not select any "type" field for  
> the telephone number, and there is no default. This breaks the VCARD  
> format, see the attachment.
>
> The problematic line is the following:
> TEL;type=pref:+36303770746
>
> This snipplet fixed this for me, by rewriting the "PREF" field to "CELL".
> This may not be the most elegant fix, bit it works for me.
>
> 2307d2306
> <                         $no_more_fields=true;
> 2311,2313d2309
> <                         if ($no_more_fields && $type==='PREF') {
> <                             $type='CELL';
> <                         }
>






More information about the bugs mailing list