mirror of
https://github.com/moparisthebest/davmail
synced 2024-12-12 18:52:21 -05:00
Caldav: need to send principal-URL on principal path, only for OSX Lion
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@1797 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
parent
1801f63aaf
commit
34f31bbd44
@ -954,6 +954,11 @@ public class CaldavConnection extends AbstractConnection {
|
||||
response.startResponse(encodePath(request, "/principals/" + prefix + '/' + principal));
|
||||
response.startPropstat();
|
||||
|
||||
if (request.hasProperty("principal-URL") && request.isIcal5()) {
|
||||
response.appendHrefProperty("D:principal-URL", encodePath(request, "/principals/" + prefix + '/' + actualPrincipal));
|
||||
}
|
||||
|
||||
|
||||
if (request.hasProperty("calendar-home-set")) {
|
||||
if ("users".equals(prefix)) {
|
||||
response.appendHrefProperty("C:calendar-home-set", encodePath(request, "/users/" + actualPrincipal + "/calendar/"));
|
||||
|
Loading…
Reference in New Issue
Block a user