Hi all ,

 

i have several issue with a strict VCARD implementations using SOGo as CardDav Server.

 

The from SOGo surfed VCard must be UTF-8 but was Latin-1. https://datatracker.ietf.org/doc/html/rfc6350#section-3.1

 

Any suggestion to solve this issue.

 

Reproduce with an curl to the CardDav Server :

 

curl --user "carddavtestuser@SOGo.Domain:SecretPWD" -s -X PROPFIND -H "Content-Type: application/xml"  -sD /dev/stderr https://SOGo.Domain/SOGo/dav/carddavtestuser@SOGo.Domain/Contacts/personal/

 

Return looks like UTF-8 but is Latin-1

Example : a german 'ü' is encoded as 252 but must be c3bc (50108).

 

<D:displayname>Meißner Üösülämi</D:displayname>

Is

<D:displayname>Mei&#223;ner &#220;&#246;s&#252;l&#228;mi</D:displayname>

 

HTTP/1.1 207 Multi-Status

Date: Mon, 10 Jan 2022 16:30:27 GMT

Server: SOPE 4.9.37/WebDAV

Referrer-Policy: same-origin

Content-Type: text/xml; charset="utf-8"

X-Dav-Error: 200 No error

Ms-Author-Via: DAV

Pragma: no-cache

Content-Length: 3548

Cache-Control: no-cache

 

<?xml version="1.0" encoding="utf-8"?>

<D:multistatus xmlns:ap="http://apache.org/dav/props/" xmlns:D="DAV:"><D:response><D:href>/SOGo/dav/carddavt...@kundenservice.biz/Contacts/personal/183358-6133BB80-3-7158B900.vcf</D:href><D:propstat><D:status>HTTP/1.1 200 OK</D:status><D:prop><D:creationdate>Sat, 04 Sep 2021 20:32:42 +0100</D:creationdate><D:getcontentlength>168</D:getcontentlength><D:getlastmodified>Sat, 04 Sep 2021 21:34:07 +0100</D:getlastmodified><D:getetag>&quot;gcs00000001&quot;</D:getetag><D:resourcetype/><D:getcontenttype>text/x-vcard</D:getcontenttype><D:displayname>Mei&#223;ner &#220;&#246;s&#252;l&#228;mi</D:displayname><D:href>/SOGo/dav/carddavt...@kundenservice.biz/Contacts/personal/183358-6133BB80-3-7158B900.vcf</D:href><ap:executable>0</ap:executable></D:prop></D:propstat></D:response></D:multistatus>

 

Cheers

 

Frank

--
users@sogo.nu
https://inverse.ca/sogo/lists

Reply via email to