You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When importing a .vcf file with the (expected) escaped \; inside the PHOTO child value, the contact photo is not correctly displayed in the contact list.
Right after importing, both contacts have a profile picture in the list and within the contact details:
Screencast.from.2024-10-20.02-05-10.webm
Now, after refreshing the view (or, basically, any time you open the contacts app afterwards), the escaped contact is not displayed on the list, nor when clicking the first time to see the contact details:
Screencast.from.2024-10-20.02-06-57.webm
The browser's console shows a 404 error on contact list load:
EDDD3AFC-D6B0-4D59-862E-D91CCA43E090.vcf:1
GET https://domain.com/remote.php/dav/addressbooks/users/User/asdf/EDDD3AFC-D6B0-4D59-862E-D91CCA43E090.vcf?photo 404 (Not Found)
Also, when downloading the address book as a .vcf file after import+refresh, the downloaded address book has two contacts with the following PHOTO value:
Describe the bug
When importing a
.vcf
file with the (expected) escaped\;
inside thePHOTO
child value, the contact photo is not correctly displayed in the contact list.Steps to reproduce
Create a
contacts.vcf
file like:Where the only difference is (note the escaped
\;
in one of them):Import the file into a new address book.
Right after importing, both contacts have a profile picture in the list and within the contact details:
Screencast.from.2024-10-20.02-05-10.webm
Now, after refreshing the view (or, basically, any time you open the contacts app afterwards), the escaped contact is not displayed on the list, nor when clicking the first time to see the contact details:
Screencast.from.2024-10-20.02-06-57.webm
The browser's console shows a 404 error on contact list load:
Also, when downloading the address book as a
.vcf
file after import+refresh, the downloaded address book has two contacts with the followingPHOTO
value:So, the unescaped contact is exported unescaped again, but the escaped contact is exported with two
\\
next to the;
.It looks like both exports are incorrect, since according to
vobject
:The serialization should be like (escaping both
;
and,
):Expected behavior
.vcf
(with\;
in the photo URI) should be displayed correctly in the contact list..vcf
should escape the\;
too.Actual behavior
.vcf
(with\;
in the photo URI) is not displayed correctly in the contact list..vcf
does not escape\;
, or it escapes it twice (if it was imported with the escaped\;
.Contact version
6.1.0
Operating system
No response
PHP engine version
None
Web server
None
Database
None
Additional info
No response
The text was updated successfully, but these errors were encountered: