From c01f99904d1283bc8bc842b0cfba8f293ed918a4 Mon Sep 17 00:00:00 2001 From: Maxence Lange Date: Wed, 4 Sep 2019 08:57:41 -0100 Subject: [PATCH] returns 404 Signed-off-by: Maxence Lange --- public.php | 2 +- settings/js/admin.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/public.php b/public.php index ae95624e8d..43fbe29815 100644 --- a/public.php +++ b/public.php @@ -68,7 +68,7 @@ try { OC_App::loadApps(array('filesystem', 'logging')); if (!\OC::$server->getAppManager()->isInstalled($app)) { - http_response_code(501); + http_response_code(404); exit; } OC_App::loadApp($app); diff --git a/settings/js/admin.js b/settings/js/admin.js index 8c27e125f5..5acf554330 100644 --- a/settings/js/admin.js +++ b/settings/js/admin.js @@ -248,7 +248,7 @@ $(document).ready(function(){ // run setup checks then gather error messages $.when( OC.SetupChecks.checkWebDAV(), - OC.SetupChecks.checkWellKnownUrl('/.well-known/webfinger', oc_defaults.docPlaceholderUrl, $('#postsetupchecks').data('check-wellknown') === true && !!oc_appconfig.core.public_webfinger, [200, 501]), + OC.SetupChecks.checkWellKnownUrl('/.well-known/webfinger', oc_defaults.docPlaceholderUrl, $('#postsetupchecks').data('check-wellknown') === true && !!oc_appconfig.core.public_webfinger, [200, 404]), OC.SetupChecks.checkWellKnownUrl('/.well-known/caldav', oc_defaults.docPlaceholderUrl, $('#postsetupchecks').data('check-wellknown') === true), OC.SetupChecks.checkWellKnownUrl('/.well-known/carddav', oc_defaults.docPlaceholderUrl, $('#postsetupchecks').data('check-wellknown') === true), OC.SetupChecks.checkProviderUrl(OC.getRootPath() + '/ocm-provider/', oc_defaults.docPlaceholderUrl, $('#postsetupchecks').data('check-wellknown') === true),