diff --git a/htdocs/well-known.php b/htdocs/well-known.php index e44b0db1..588de822 100644 --- a/htdocs/well-known.php +++ b/htdocs/well-known.php @@ -21,7 +21,7 @@ switch ( $request->path ) { $request->DoResponse(301); // Moved permanently // does not return. case '/.well-known/timezone': - header('Location: ' . ConstructURL('/tz.php',true) ); + header('Location: ' . str_replace('/caldav.php', '', ConstructURL('/tz.php',true)) ); $request->DoResponse(301); // Moved permanently // does not return. }