I have tried to correct it. Is it OK now ?
Le 29/01/2012 14:00, Patrick Ohly a écrit :
Hello Thomas! Something broke in Memotoo's handling of backslash in vCard 3.0. This is sent to Memotoo: BEGIN:VCARD VERSION:3.0 PRODID:-//Synthesis AG//NONSGML SyncML Engine V3.4.0.35//EN REV:20120128T131450Z N:Ü;Ä;Ö;Umlaut;ß FN:Umlaut Ä Ö Ü ß X-EVOLUTION-FILE-AS:Ü\, Ä NICKNAME:user2 TITLE: CATEGORIES:Business ORG:;;; TEL: EMAIL: URL: ADR;TYPE=HOME:test 5;Line 2;Umlaut Ä in Line 1;test 1;test 3;test 2; BDAY: NOTE:This user tests some of the advanced aspects of vcards:\n- non-ASCII characters (with umlauts in the name)\n- line break (in this note and the mailing address)\n- long lines (in this note)\n- special characters (in this note)\n- tabs (in this note)\n\nVery long line\, very very long this time... still not finished... blah blah blah blah blah 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16\n\ncomma \,\ncolon :\nsemicolon \;\nbackslash \\\n\nThe same\, in the middle of a line:\ncomma \, comma\ncolon : colon\nsemicolon \; semicolon\nbackslash \\ backslash\n\nA tab tab done\n line starts with tab PHOTO: END:VCARD http://syncev.meego.com/2012-01-28-12-33_dist/lucid-amd64/23-memotoo/Client_Sync_eds_contact_testItems.send.client.A/syncevolution-log.html This comes back: BEGIN:VCARD VERSION:3.0 REV:20120128T131454Z N;ENCODING=QUOTED-PRINTABLE;CHARSET=UTF-8:=C3=9C;=C3=84;=C3=96;Umlaut;=C3=9F FN;ENCODING=QUOTED-PRINTABLE;CHARSET=UTF-8:=C3=9C =C3=84 NICKNAME:user2 ADR;TYPE=HOME;ENCODING=QUOTED-PRINTABLE;CHARSET=UTF-8:test 5;Line 2;Umlaut =C3=84 in Line 1;test 1;test 3;test 2; NOTE;ENCODING=QUOTED-PRINTABLE:This user tests some of the advanced aspects of vcards:=0D=0A- non-ASCII characters (with umlauts in the name)=0D=0A- line break (in this note and the mailing address)=0D=0A- long lines (in this note)=0D=0A- special characters (in this note)=0D=0A- tabs (in this note)=0D=0A=0D=0AVery long line, very very long this time... still not finished... blah blah blah blah blah 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16=0D=0A=0D=0Acomma ,=0D=0Acolon :=0D=0Asemicolon \;=0D=0Abackslash \\n=0D=0AThe same, in the middle of a line:=0D=0Acomma , comma=0D=0Acolon : colon=0D=0Asemicolon \; semicolon=0D=0Abackslash \\ backslash=0D=0A=0D=0AA tab =09tab done=0D=0A=09line starts with tab CATEGORIES:Business X-EVOLUTION-FILE-AS;ENCODING=QUOTED-PRINTABLE;CHARSET=UTF-8:=C3=9C, =C3=84 END:VCARD http://syncev.meego.com/2012-01-28-12-33_dist/lucid-amd64/23-memotoo/Client_Sync_eds_contact_testItems.refresh.client.B/syncevolution-log.html One backslash in \\\n was removed: 11 12 13 14 15 16\n\ncomma \,\ncolon 11 12 13 14 15 16\n\ncomma \,\ncolon :\nsemicolon \;\nbackslash \\\n\nThe | :\nsemicolon \;\nbackslash \\n\nThe s same\, in the middle of a line:\ncomm | ame\, in the middle of a line:\ncomma a \, comma\ncolon : colon\nsemicolon | \, comma\ncolon : colon\nsemicolon \ \; semicolon\nbackslash \\ backslash\ | ; semicolon\nbackslash \\ backslash\n n\nA tab tab done\n line starts with | \nA tab tab done\n line starts with tab | tab This leads to a test failure in Client::Sync::eds_contact::testItems.
_______________________________________________ SyncEvolution mailing list [email protected] http://lists.syncevolution.org/listinfo/syncevolution
