From 3ae6e76ff97e0bcf4bf9265437af56a79bc2326d Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 31 Jan 2012 22:27:31 +0000 Subject: [PATCH] fixed wrong self-url in PROPFIND of shared addressbooks/calendars --- phpgwapi/inc/class.groupdav.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/inc/class.groupdav.inc.php b/phpgwapi/inc/class.groupdav.inc.php index 9ab7b5db63..fe5a605292 100644 --- a/phpgwapi/inc/class.groupdav.inc.php +++ b/phpgwapi/inc/class.groupdav.inc.php @@ -372,7 +372,7 @@ class groupdav extends HTTP_WebDAV_Server { // KAddressbook doubles the folder, if the self URL contains the GroupDAV/CalDAV resourcetypes $files['files'][0] = $this->add_app($app,$app=='addressbook'&&$handler->get_agent()=='kde',$user, - $user || $app != 'addressbook' ? $path.$app.'/' : '/addressbook-accounts/'); + $this->_slashify($options['path'])); // Hack for iOS 5.0.1 addressbook to stop asking directory gateway permissions with depth=1 if ($method == 'PROPFIND' && $options['path'] == '/addressbook/' && $handler->get_agent() == 'dataaccess')