mirror of
https://github.com/moparisthebest/davmail
synced 2024-12-13 11:12:22 -05:00
Carddav: improve OSX client detection
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@1422 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
parent
12b01733e3
commit
6defe86762
@ -902,7 +902,7 @@ public class CaldavConnection extends AbstractConnection {
|
||||
}
|
||||
|
||||
if (request.hasProperty("addressbook-home-set") && "users".equals(prefix)) {
|
||||
if (request.isUserAgent("Address%20Book")) {
|
||||
if (request.isUserAgent("Address%20Book") || request.isUserAgent("Darwin")) {
|
||||
response.appendHrefProperty("E:addressbook-home-set", "/users/" + actualPrincipal + '/');
|
||||
} else {
|
||||
response.appendHrefProperty("E:addressbook-home-set", "/users/" + actualPrincipal + "/contacts/");
|
||||
|
Loading…
Reference in New Issue
Block a user