From 8661b0f0d94b02647d42f30fcd55b7cfc59a6d88 Mon Sep 17 00:00:00 2001 From: mguessan Date: Wed, 7 Jul 2010 23:09:34 +0000 Subject: [PATCH] Caldav: Workaround for Lightning/1.0b2 href encoding bug in REPORT requests git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@1156 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 79a507b0..ad087c57 100644 --- a/src/java/davmail/caldav/CaldavConnection.java +++ b/src/java/davmail/caldav/CaldavConnection.java @@ -1312,7 +1312,7 @@ public class CaldavConnection extends AbstractConnection { } protected boolean isBrokenHrefEncoding() { - return isUserAgent("DAVKit/3") || isUserAgent("eM Client/"); + return isUserAgent("DAVKit/3") || isUserAgent("eM Client/")|| isUserAgent("Lightning/1.0b2"); } protected boolean isLightning() {