diff --git a/src/java/davmail/caldav/CaldavConnection.java b/src/java/davmail/caldav/CaldavConnection.java index b127a71a..3de11c44 100644 --- a/src/java/davmail/caldav/CaldavConnection.java +++ b/src/java/davmail/caldav/CaldavConnection.java @@ -285,7 +285,7 @@ public class CaldavConnection extends AbstractConnection { public void appendCalendar(StringBuilder buffer, String principal, CaldavRequest request) throws IOException { buffer.append(" \n"); - buffer.append(" /users/").append(principal).append("/calendar/\n"); + buffer.append(" /users/").append(principal).append("/calendar\n"); buffer.append(" \n"); buffer.append(" \n"); @@ -316,7 +316,7 @@ public class CaldavConnection extends AbstractConnection { public void appendInbox(StringBuilder buffer, String principal, CaldavRequest request) throws IOException { buffer.append(" \n"); - buffer.append(" /users/").append(principal).append("/inbox/\n"); + buffer.append(" /users/").append(principal).append("/inbox\n"); buffer.append(" \n"); buffer.append(" \n"); @@ -340,7 +340,7 @@ public class CaldavConnection extends AbstractConnection { public void appendOutbox(StringBuilder buffer, String principal, CaldavRequest request) throws IOException { buffer.append(" \n"); - buffer.append(" /users/").append(principal).append("/outbox/\n"); + buffer.append(" /users/").append(principal).append("/outbox\n"); buffer.append(" \n"); buffer.append(" \n"); @@ -463,7 +463,7 @@ public class CaldavConnection extends AbstractConnection { buffer.append("\n"); buffer.append("\n"); buffer.append(" \n"); - buffer.append(" /users/").append(principal).append("/\n"); + buffer.append(" /users/").append(principal).append("\n"); buffer.append(" \n"); buffer.append(" \n"); @@ -517,7 +517,7 @@ public class CaldavConnection extends AbstractConnection { buffer.append("\n"); buffer.append("\n"); buffer.append(" \n"); - buffer.append(" /principals/users/").append(principal).append("/\n"); + buffer.append(" /principals/users/").append(principal).append("\n"); buffer.append(" \n"); buffer.append(" \n"); if (request.hasProperty("calendar-home-set")) { @@ -534,13 +534,13 @@ public class CaldavConnection extends AbstractConnection { if (request.hasProperty("schedule-inbox-URL")) { buffer.append(" \n"); - buffer.append(" /users/").append(principal).append("/inbox/\n"); + buffer.append(" /users/").append(principal).append("/inbox\n"); buffer.append(" "); } if (request.hasProperty("schedule-outbox-URL")) { buffer.append(" \n"); - buffer.append(" /users/").append(principal).append("/outbox/\n"); + buffer.append(" /users/").append(principal).append("/outbox\n"); buffer.append(" "); }