contacts icon indicating copy to clipboard operation
contacts copied to clipboard

Export converts spaces in prefixes into `\,`, causing 3rd-party clients to render them as ",".

Open RokeJulianLockhart opened this issue 3 weeks ago • 1 comments

Describe the bug

Export of a contact converts spaces in its prefix into \,, causing 3rd-party clients to render what should be spaces as ",".

Steps to reproduce

  1. Create a contact with a prefix which contains spaces.
  2. Export it to a .VCF.
  3. Delete the contact in the database.
  4. Import the .VCF.
  5. Synchronize the address book via https://github.com/bitfireAT/davx5-ose/releases/download/v4.4.0.1-ose/davx5-ose-4.4.0.1-ose-release.apk.
  6. View the contact via https://github.com/FossifyOrg/Contacts/releases/download/1.0.1/contacts-2-foss-release.apk.

Expected behavior

The prefix should render as "WordOne WordTwo".

Actual behavior

The prefix renders as "WordOne,WordTwo".

Contact version

Unknown, but at most, https://github.com/nextcloud/contacts/releases/tag/v5.0.1.

Operating system

cpe:/o:canonical:ubuntu

PHP engine version

None

Web server

nginx/1.18.0

Database

{"needsDbUpgrade": false} // https://wim.nl.tab.digital/status.php

Additional info

No response

RokeJulianLockhart avatar Jun 15 '24 21:06 RokeJulianLockhart