mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-05-27 02:54:27 +00:00
iCal4 wants to see 'calendar-proxy' in the DAV header.
This commit is contained in:
parent
60ee4837f9
commit
9b971b26dc
@ -22,7 +22,7 @@ if ( isset($c->override_dav_header) ) {
|
||||
$dav = $c->override_dav_header;
|
||||
}
|
||||
else {
|
||||
$dav = '1, 2, 3, access-control, calendar-access, calendar-schedule, extended-mkcol';
|
||||
$dav = '1, 2, access-control, calendar-access, calendar-schedule, extended-mkcol, calendar-proxy';
|
||||
}
|
||||
header( 'DAV: '.$dav);
|
||||
|
||||
@ -30,7 +30,7 @@ require_once('CalDAVRequest.php');
|
||||
$request = new CalDAVRequest();
|
||||
|
||||
$allowed = implode( ', ', array_keys($request->supported_methods) );
|
||||
header( 'Allow: '.$allowed);
|
||||
// header( 'Allow: '.$allowed);
|
||||
|
||||
if ( ! ($request->IsPrincipal() || isset($request->collection) || $request->method == 'PUT' || $request->method == 'MKCALENDAR' || $request->method == 'MKCOL' ) ) {
|
||||
if ( preg_match( '#^/principals/users(/.*/)$#', $request->path, $matches ) ) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user