mirror of
https://github.com/moparisthebest/davmail
synced 2024-12-13 11:12:22 -05:00
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:
parent
efcb9bfa74
commit
d490ffbf46
@ -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') {
|
||||
|
Loading…
Reference in New Issue
Block a user