From: Maxence Lange Date: Mon, 9 Sep 2019 11:06:08 +0000 (-0100) Subject: returns 404 X-Git-Tag: v15.0.12RC1~11^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=c05e00675a474157b43c7ea64421069030f72f63;p=nextcloud-server.git returns 404 Signed-off-by: Maxence Lange --- diff --git a/public.php b/public.php index ae95624e8d9..43fbe29815e 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 725d38f1ee2..d3c4040a888 100644 --- a/settings/js/admin.js +++ b/settings/js/admin.js @@ -247,7 +247,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),