diff --git a/inc/caldav-PROPFIND.php b/inc/caldav-PROPFIND.php index c40ffb94..4885aa48 100644 --- a/inc/caldav-PROPFIND.php +++ b/inc/caldav-PROPFIND.php @@ -77,16 +77,16 @@ foreach( $request->xml_tags AS $k => $v ) { case 'SUPPORTED-PRIVILEGE-SET': /** supported-privilege-set - should work fine */ case 'CURRENT-USER-PRIVILEGE-SET': /** current-user-privilege-set - only vaguely supported */ case 'ALLPROP': /** allprop - limited support */ - $attribute_list[$tag] = 1; - dbg_error_log( "PROPFIND", "Adding %s attribute '%s'", $namespace, $tag ); - break; - - /** * Handled CalDAV properties */ case 'CALENDAR-HOME-SET': /** calendar-home-set is used by iCal in Leopard - should work fine */ + $attribute_list[$tag] = 1; + dbg_error_log( "PROPFIND", "Adding %s attribute '%s'", $namespace, $tag ); + break; + + case 'SUPPORTED-COLLATION-SET': /** fixed server definition - should work fine */ case 'SUPPORTED-CALENDAR-COMPONENT-SET': /** fixed server definition - should work fine */ diff --git a/testing/tests/regression-suite/511-iCal-PROPFIND.result b/testing/tests/regression-suite/511-iCal-PROPFIND.result index 4a044e58..35da6638 100644 --- a/testing/tests/regression-suite/511-iCal-PROPFIND.result +++ b/testing/tests/regression-suite/511-iCal-PROPFIND.result @@ -1,23 +1,25 @@ HTTP/1.1 207 Multi-Status Date: Dow, 01 Jan 2000 00:00:00 GMT -DAV: 1, access-control -ETag: "af62dedcedd04f04e042beb9408793c2" -Content-Length: 740 +DAV: 1, 2, access-control, calendar-access +ETag: "3c6167921378348411a110b1db03b7d4" +Content-Length: 796 Content-Type: text/xml; charset="utf-8" - + / DAViCal_CalDAV_Server + + /user1/ + HTTP/1.1 200 OK -