From d490ffbf462d49bfc658966959d080cd9d0f07e3 Mon Sep 17 00:00:00 2001 From: mguessan Date: Tue, 20 Jul 2010 09:56:36 +0000 Subject: [PATCH] Carddav: protect semicolon git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@1218 3d1905a2-6b24-0410-a738-b14d5a86fcbd --- src/java/davmail/exchange/VCardWriter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/java/davmail/exchange/VCardWriter.java b/src/java/davmail/exchange/VCardWriter.java index a9c6fbce..30cdbd5d 100644 --- a/src/java/davmail/exchange/VCardWriter.java +++ b/src/java/davmail/exchange/VCardWriter.java @@ -74,7 +74,7 @@ public class VCardWriter extends ICSBufferedWriter { if (value != null) { for (int i = 0; i < value.length();i++) { char c = value.charAt(i); - if (c == ',') { + if (c == ',' || c == ';') { buffer.append('\\'); } if (c == '\n') {