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:
mguessan 2010-09-06 10:14:09 +00:00
parent 12b01733e3
commit 6defe86762
1 changed files with 1 additions and 1 deletions

View File

@ -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/");