contacts
contacts copied to clipboard
Vcf import failed - values are not decoded from quoted-printable format
Steps to reproduce
- Import vcf with fields containing 'ENCODING=QUOTED-PRINTABLE'
Example (here in ADR, but can occure in every field):
BEGIN:VCARD
VERSION:2.1
N:Mustermann;Max;;;
FN:Max Mustermann
TEL;CELL:+4912345678901
TEL;HOME:+4912345678902
EMAIL;HOME:[email protected]
ADR;HOME:;;Musterweg 1;Musterstadt;;12345;
ADR;CHARSET=UTF-8;ENCODING=QUOTED-PRINTABLE:;;=4D=75=73=74=65=72=77=65=67=20=32;=4D=75=73=74=65=72=73=74=61=64=74;;=31=32=33=34=35;
BDAY:1900-01-01
END:VCARD
I got such files by exporting contacts from an android mobile.
Expected behaviour
Contact is shown with decoded values
Actual behaviour
The according values are still shown as quoted printables
Server configuration
Operating system: Debian 8.4
Web server: Apache 2.4.10
Database: MySQL 5.5.49
PHP version: 5.6.20
ownCloud version: 9.0.1 (stable) (installed with apt-get)
Contacts version: 1.2.0.0 (with vcf bugfix inserted - https://github.com/owncloud/contacts/pull/392)
Updated from an older ownCloud or fresh install: fresh install
Signing status (ownCloud 9.0 and above):
No errors have been found.
List of activated apps:
Enabled:
- activity: 2.2.1
- calendar: 1.1
- comments: 0.2
- contacts: 1.2.0.0
- dav: 0.1.6
- encryption: 1.2.0
- federatedfilesharing: 0.1.0
- federation: 0.0.4
- files: 1.4.4
- files_pdfviewer: 0.8
- files_sharing: 0.9.1
- files_texteditor: 2.1
- files_trashbin: 0.8.0
- files_versions: 1.2.0
- files_videoplayer: 0.9.8
- firstrunwizard: 1.1
- gallery: 14.5.0
- notifications: 0.2.3
- provisioning_api: 0.4.1
- systemtags: 0.2
- templateeditor: 0.1
- updatenotification: 0.1.0
Disabled:
- external
- files_external
- user_external
- user_ldap
The content of config/config.php:
{
"system": {
"updatechecker": false,
"instanceid": "oc1ar8ylj0b4",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"***REMOVED SENSITIVE VALUE***"
],
"datadirectory": "\/var\/www\/owncloud\/data",
"overwrite.cli.url": "***REMOVED SENSITIVE VALUE***",
"dbtype": "mysql",
"version": "9.0.1.3",
"dbname": "owncloud",
"dbhost": "localhost",
"dbtableprefix": "oc_",
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"logtimezone": "UTC",
"installed": true,
"memcache.local": "\\OC\\Memcache\\APCu"
}
}
Are you using external storage, if yes which one: no
Are you using encryption: yes
Are you using an external user-backend, if yes which one: no
Client configuration
Browser: Firefox 46
Operating system: Windows 10
CardDAV-clients: none
Logs
Web server error log
(Only the PUT request)
ownCloud log (data/owncloud.log)
(no entry)
Browser log
Content Security Policy: Die Einstellungen der Seite haben das Laden einer Ressource auf self blockiert ("script-src https://***REMOVED SENSITIVE VALUE*** 'unsafe-eval'").