From 103a6ec1466fcc1539e5ede0790fbcd06016b3d4 Mon Sep 17 00:00:00 2001 From: Andrew McMillan Date: Mon, 15 Mar 2010 00:32:53 +1300 Subject: [PATCH] 404 check was insufficient here. --- htdocs/caldav.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/htdocs/caldav.php b/htdocs/caldav.php index ae38534f..b88ad2e2 100644 --- a/htdocs/caldav.php +++ b/htdocs/caldav.php @@ -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 ) {