mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-11-29 08:56:03 +00:00
The redirect on /.well-known/ URLs should be a 301 really.
This commit is contained in:
1 parent
413618749c
commit
d347c5c0e9
1 file changed
+2
-1
@@ -18,7 +18,8 @@ switch ( $request->path ) {
|
||||
case '/.well-known/caldav':
|
||||
case '/.well-known/carddav':
|
||||
header('Location: ' . ConstructURL('/',true) );
|
||||
exit(0);
|
||||
$request->DoResponse(301); // Moved permanently
|
||||
// does not return.
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user