No import of contacts with umlauts / UnsupportedMediaType #461
Labels
1. to develop
Accepted and waiting to be taken care of
compatibility
Compatibility with other services
low
Low priority
Steps to reproduce
create an arbitrary vcf, e.g. test.vcf (in my case it's a sanitised android export)
BEGIN:VCARD
VERSION:3.0
N;CHARSET=UTF-8;ENCODING=QUOTED-PRINTABLE:=C3=96=64=65;=C3=96=6D=C3=BC=72;;;
FN;CHARSET=UTF-8;ENCODING=QUOTED-PRINTABLE:=C3=96=6D=C3=BC=72=20=C3=96=64=65
TEL;CELL:+491741234567890
END:VCARD
In NC import above vcf
You'll get the error that the contact could not be created/added
Expected behaviour
The contact is created/imported
Actual behaviour
See above
Server configuration
Operating system: Linux 4.4.0-109-generic #132-Ubuntu SMP Tue Jan 9 19:52:39 UTC 2018 x86_64
Webserver: nginx/1.10.3 (fpm-fcgi)
Database: mysql 10.0.33
PHP version: 7.0.22-0ubuntu0.16.04.1
Modules loaded: Core, date, libxml, openssl, pcre, zlib, filter, hash, Reflection, SPL, session, standard, cgi-fcgi, mysqlnd, PDO, xml, apcu, calendar, ctype, curl, dom, mbstring, fileinfo, ftp, gd, gettext, iconv, intl, json, exif, mcrypt, mysqli, pdo_mysql, pdo_sqlite, Phar, posix, readline, shmop, SimpleXML, sockets, sqlite3, sysvmsg, sysvsem, sysvshm, tokenizer, wddx, xmlreader, xmlwriter, xsl, zip, Zend OPcache
Nextcloud version: 12.0.4 - 12.0.4.3
**Updated from an older Nextcloud/ownCloud or fresh install: fresh install
Where did you install Nextcloud from: https://decatec.de/home-server/owncloud-9-auf-ubuntu-server-16-04-lts-mit-nginx-mariadb-php-7-und-lets-encrypt/comment-page-2
with adaptions to Nextcloud
Enabled:
Disabled:
{
"instanceid": "oc7brpjgd9w0",
"passwordsalt": "REMOVED SENSITIVE VALUE",
"secret": "REMOVED SENSITIVE VALUE",
"trusted_domains": [
"my.ddns.net",
"192.168.1.135"
],
"datadirectory": "/var/www/nextcloud/data",
"overwrite.cli.url": "http://my.ddns.net/nextcloud",
"dbtype": "mysql",
"version": "12.0.4.3",
"dbname": "nextcloud_db",
"dbhost": "localhost",
"dbport": "",
"dbtableprefix": "oc_",
"dbuser": "REMOVED SENSITIVE VALUE",
"dbpassword": "REMOVED SENSITIVE VALUE",
"installed": true,
"memcache.local": "\OC\Memcache\APCu",
"logtimezone": "Europe/Berlin"
}
With access to your command line run e.g.:
root@ubuntu-server:/var/www/nextcloud# sudo -u www-data php occ ldap:show-config
[Symfony\Component\Console\Exception\CommandNotFoundException]
There are no commands defined in the "ldap" namespace.
root@ubuntu-server:/var/www/nextcloud#
Client configuration
Browser: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:57.0) Gecko/20100101 Firefox/57.0
Operating system: Elementary OS
Logs
Nextcloud log
Sabre\DAV\Exception\UnsupportedMediaType: Validation error in vCard: ENCODING=QUOTED-PRINTABLE is not valid for this document type.The text was updated successfully, but these errors were encountered: