Carddav: protect semicolon

git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@1218 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
mguessan 2010-07-20 09:56:36 +00:00
parent efcb9bfa74
commit d490ffbf46
1 changed files with 1 additions and 1 deletions

View File

@ -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') {