mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-08-30 18:37:12 +00:00
oops, don't write to resources we don't have privileges to
This commit is contained in:
parent
3efbddd9bd
commit
5d2123f385
@ -257,7 +257,8 @@ function handle_schedule_reply ( $ical ) {
|
||||
$reply->NSElement( $privnodes[1], 'schedule-deliver-reply' );
|
||||
$xml = new XMLElement( 'need-privileges', new XMLElement( 'resource', $privnodes) );
|
||||
$xmldoc = $reply->Render('error',$xml);
|
||||
$request->DoResponse( 403, $xmldoc, 'text/xml; charset="utf-8"' );
|
||||
$request->DoResponse( 403, $xmldoc, 'text/xml; charset="utf-8"' );
|
||||
continue;
|
||||
}
|
||||
|
||||
$ncal = new iCalComponent ( );
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user