mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-06-16 06:10:17 +00:00
404 check was insufficient here.
This commit is contained in:
parent
4d674c4f92
commit
103a6ec146
@ -52,10 +52,6 @@ if ( ! ($request->IsPrincipal() || isset($request->collection) || $request->meth
|
||||
header('Location: '.$redirect_url );
|
||||
exit(0);
|
||||
}
|
||||
dbg_error_log( 'LOG WARNING', 'Attempt to %s url "%s" but no collection exists there.', $request->method, $request->path );
|
||||
if ( $request->method == 'GET' || $request->method == 'REPORT' ) {
|
||||
$request->DoResponse( 404, translate('There is no collection at that URL.') );
|
||||
}
|
||||
}
|
||||
|
||||
switch ( $request->method ) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user