Android version: 9
Device model: Samsung Galaxy S8+
Nextcloud app version: 3.13.1
Nextcloud server version: 19.0.3
webdav | Sabre\DAV\Exception\UnsupportedMediaType:聽Validation error in vCard: ENCODING=QUOTED-PRINTABLE is not valid for this document type./var/www/nextcloud/3rdparty/sabre/dav/lib/CardDAV/Plugin.php聽- line 303:Sabre\CardDAV\Plugin->validateVCard()/var/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php聽- line 89:Sabre\CardDAV\Plugin->beforeCreateFile()/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php聽- line 1100:Sabre\DAV\Server->emit()/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php聽- line 527:Sabre\DAV\Server->createFile()/var/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php聽- line 89:Sabre\DAV\CorePlugin->httpPut()/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php聽- line 474:Sabre\DAV\Server->emit()/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php聽- line 251:Sabre\DAV\Server->invokeMethod()/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php聽- line 319:Sabre\DAV\Server->start()/var/www/nextcloud/apps/dav/lib/Server.php聽- line 320:Sabre\DAV\Server->exec()/var/www/nextcloud/apps/dav/appinfo/v2/remote.php聽- line 35:OCA\DAV\Server->exec()/var/www/nextcloud/remote.php聽- line 167:require_once("/var/www/ne ... p")
-- | --
@tobiasKaminsky for a detailed analysis please see the referenced forum post
@tobiasKaminsky I think the given subject reflects only the result of the problem but not the root cause of it. It seems that the contact backup function creates vcf files in vCARD 3.0 format, which still contain vCARD 2.1-specific quoted-printable encoded entries. I've summarized my findings here.
Well it is even more complicated ;)
We get the export from Android (v2.1= and let the vCard lib convert it ti 3 for importability in Nextcloud) unfortunately the lib doesn't seem to take care of converting the quoted-printable encoded entities :(
maybe this could be achieved by using Apache Commons Codec
lib doesn't seem to take care of converting the quoted-printable
Then please report this upstream.
Then please report this upstream.
@tobiasKaminsky Unfortunately I haven't found the time yet to report this to the lib project at https://github.com/mangstadt/ez-vcard/issues
@AndyScherzinger , @tobiasKaminsky I've created the following issue ticket in the given repository for you:
Thanks a lot @j-ed and it has been fixed by the maintainer already, so hoping for a quick release :)
@AndyScherzinger .... what I am writing now is not meant seriously ;-)
Thanks to me ;-)
I spent hours testing it and posting it on the Nextcloud forum just wanted to mention it ;-)
Thanks to the supervisor and for the info.
@0110101 I am just happy if it solves the issue (not yet released or tested with Nextcloud...) and yes, you did a magnificent job analyzing the matter and finding the root cause 馃憦
Most helpful comment
@AndyScherzinger .... what I am writing now is not meant seriously ;-)
Thanks to me ;-)
I spent hours testing it and posting it on the Nextcloud forum just wanted to mention it ;-)
Thanks to the supervisor and for the info.