Caldav: protect ':' in VCALENDAR property params

git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@1516 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
mguessan 2010-10-22 14:47:32 +00:00
parent f641982096
commit 4547ee7870
1 changed files with 3 additions and 1 deletions

View File

@ -370,7 +370,9 @@ public class VProperty {
}
protected void appendParamValue(StringBuilder buffer, String value) {
if (value.indexOf(';') >= 0 || value.indexOf(',') >= 0 || value.indexOf('(') >= 0 || value.indexOf('/') >= 0) {
if (value.indexOf(';') >= 0 || value.indexOf(',') >= 0
|| value.indexOf('(') >= 0 || value.indexOf('/') >= 0
|| value.indexOf(':') >= 0) {
buffer.append('"').append(value).append('"');
} else {
buffer.append(value);