1
0
mirror of https://github.com/moparisthebest/davmail synced 2024-08-13 16:53:51 -04:00

iCal fix : do not test depth on REPORT

git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@254 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
mguessan 2008-12-24 17:00:13 +00:00
parent 43f4f632b5
commit 2107f7a223

View File

@ -279,7 +279,7 @@ public class CaldavConnection extends AbstractConnection {
sendHttpResponse(HttpStatus.SC_MULTI_STATUS, responseHeaders, "text/xml;charset=UTF-8", buffer.toString(), true); sendHttpResponse(HttpStatus.SC_MULTI_STATUS, responseHeaders, "text/xml;charset=UTF-8", buffer.toString(), true);
} else if ("REPORT".equals(command) } else if ("REPORT".equals(command)
&& ("/calendar/".equals(path) || "/calendar".equals(path)) && ("/calendar/".equals(path) || "/calendar".equals(path))
&& depth == 1 && body != null) { && body != null) {
CaldavRequest request = new CaldavRequest(body); CaldavRequest request = new CaldavRequest(body);
List<ExchangeSession.Event> events; List<ExchangeSession.Event> events;