From fc31316c141621cce3dda701ababb169f13c5ae7 Mon Sep 17 00:00:00 2001 From: mguessan Date: Wed, 24 Jun 2009 23:58:06 +0000 Subject: [PATCH] Caldav: fix regression on iCal calendar color change git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@603 3d1905a2-6b24-0410-a738-b14d5a86fcbd --- src/java/davmail/caldav/CaldavConnection.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/java/davmail/caldav/CaldavConnection.java b/src/java/davmail/caldav/CaldavConnection.java index 16e4d546..e3df3b10 100644 --- a/src/java/davmail/caldav/CaldavConnection.java +++ b/src/java/davmail/caldav/CaldavConnection.java @@ -227,6 +227,8 @@ public class CaldavConnection extends AbstractConnection { patchCalendar(request); } else if (request.isReport()) { reportEvents(request); + } else { + sendUnsupported(request); } // event request } else if (request.isPathLength(depth + 2)) { @@ -834,7 +836,7 @@ public class CaldavConnection extends AbstractConnection { } public boolean isPropPatch() { - return "PROPFIND".equals(command); + return "PROPPATCH".equals(command); } public boolean isReport() {