mirror of
https://github.com/moparisthebest/davmail
synced 2024-12-13 03:02:22 -05:00
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:
parent
f641982096
commit
4547ee7870
@ -370,7 +370,9 @@ public class VProperty {
|
|||||||
}
|
}
|
||||||
|
|
||||||
protected void appendParamValue(StringBuilder buffer, String value) {
|
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('"');
|
buffer.append('"').append(value).append('"');
|
||||||
} else {
|
} else {
|
||||||
buffer.append(value);
|
buffer.append(value);
|
||||||
|
Loading…
Reference in New Issue
Block a user