mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-05-22 02:04:19 +00:00
Respond with supported-report error if the report is unsupported.
This commit is contained in:
parent
0c64725ba2
commit
e3babd9845
@ -320,6 +320,6 @@ elseif ( $xmltree->GetTag() == "urn:ietf:params:xml:ns:carddav:addressbook-query
|
|||||||
include("caldav-REPORT-cardquery.php");
|
include("caldav-REPORT-cardquery.php");
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
$request->DoResponse( 501, "The XML is not a supported REPORT query document" );
|
$request->PreconditionFailed( 403, 'DAV::supported-report', sprintf( '"%s" is not a supported report type') );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user