Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import fails for Apple (iOS) vCard format #4182

Open
phil-lipp opened this issue Oct 13, 2024 · 0 comments
Open

Import fails for Apple (iOS) vCard format #4182

phil-lipp opened this issue Oct 13, 2024 · 0 comments
Labels

Comments

@phil-lipp
Copy link

phil-lipp commented Oct 13, 2024

Describe the bug

Apple uses additional fields to provide a more detailed contact info. Ideally these fields could be mapped to Nextcloud so all information is preserved. Alternatively these fields could be sanitized.

Here are the troublesome fields:
X-MS-IMADDRESS;OTHER:
ADR;<HOME/WORK/OTHER>:
EMAIL;<WORK/OTHER>:
TEL;<PREF/OTHER/VOICE>;<MOBILE/VOICE/HOME>:
URL;OTHER:

Steps to reproduce

  1. Connect iPhone to PC
  2. Use 3uTools to export contacts
  3. Try to import the contacts to Nextcloud Contacts
  4. See error for contacts with the aforementioned attributes

Expected behavior

Handle the import gracefully.

Actual behavior

Import fails for contacts with aforementioned attributes.

Contact version

6.1.0

Operating system

Debian 12

PHP engine version

PHP 8.3

Web server

Nginx

Database

MariaDB

Additional info

According to https://www.rfc-editor.org/rfc/rfc6350 only the X-name attributes are not official and should not be used. Attributes like "TEL;VALUE=uri;PREF=1;TYPE="voice,home":tel:+1-555-555-5555;ext=5555" and "TEL;VALUE=uri;TYPE=home:tel:+33-01-23-45-67" are explicitly mentioned in the RFC and should be supported by the Contacts app.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant