From 12b01733e3d58675c78f53250bc0dffab62d5485 Mon Sep 17 00:00:00 2001 From: mguessan Date: Sat, 4 Sep 2010 07:36:56 +0000 Subject: [PATCH] Caldav: adjust Lightning bug workaround git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@1421 3d1905a2-6b24-0410-a738-b14d5a86fcbd --- src/java/davmail/caldav/CaldavConnection.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/java/davmail/caldav/CaldavConnection.java b/src/java/davmail/caldav/CaldavConnection.java index 3965c734..c2ed45ff 100644 --- a/src/java/davmail/caldav/CaldavConnection.java +++ b/src/java/davmail/caldav/CaldavConnection.java @@ -685,7 +685,7 @@ public class CaldavConnection extends AbstractConnection { } catch (HttpNotFoundException e) { // workaround for Lightning bug if (request.isBrokenLightning() && eventName.indexOf('%') >= 0) { - item = session.getItem(folderPath, URIUtil.decode(eventName)); + item = session.getItem(folderPath, URIUtil.decode(StringUtil.encodePlusSign(eventName))); } else { throw e; }