owncloud / core

:cloud: ownCloud web server core (Files, DAV, etc.)
https://owncloud.com
GNU Affero General Public License v3.0
8.36k stars 2.06k forks source link

vcf import drops information after linebreaks #3603

Closed ownhardy closed 11 years ago

ownhardy commented 11 years ago

I found some annoying behavior in the import feature for contacts, where I assume it is a bug in Owncloud (version 5.0.6): To reproduce do the following:

  1. Generate a vcf file with contact information in it, that has line breaks (!) inside of entries. (Those kind of vcf files are imported into my iPod without any problems. They are generated by Thunderbird e.g.). Here is the text for an example vcf file that generates the bug: BEGIN:VCARD VERSION:2.1 N;ENCODING=QUOTED-PRINTABLE:Mustermann;Max ADR;HOME;POSTAL;ENCODING=QUOTED-PRINTABLE:;;Wallensteinstra=DFe 25;Reu= tlingen;;72770; TEL;CELL;VOICE:0176/8545313 END:VCARD
  2. Import the vcf file into the contacts part of the owncloud web interface.
  3. look at the resulting contact information: The address line will be cut off. It will only say "...Reut" instead of "...Reutlingen". And the zip code will be missing at all. :(
DeepDiver1975 commented 11 years ago

Please reopen in the contract repo

ownhardy commented 11 years ago

oh sorry, I've opened this issue again at owncloud/contacts.