From d347c5c0e91b5cce61dbf00a4a31571d64059d16 Mon Sep 17 00:00:00 2001 From: Andrew McMillan Date: Sat, 27 Nov 2010 19:19:08 +1300 Subject: [PATCH] The redirect on /.well-known/ URLs should be a 301 really. --- htdocs/well-known.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/htdocs/well-known.php b/htdocs/well-known.php index 7594947c..62348035 100644 --- a/htdocs/well-known.php +++ b/htdocs/well-known.php @@ -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. }