]> source.dussan.org Git - nextcloud-server.git/commitdiff
returns 404 16997/head
authorMaxence Lange <maxence@artificial-owl.com>
Wed, 4 Sep 2019 09:57:41 +0000 (08:57 -0100)
committerMaxence Lange <maxence@artificial-owl.com>
Wed, 4 Sep 2019 09:57:41 +0000 (08:57 -0100)
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
public.php
settings/js/admin.js

index ae95624e8d915508ce4a6c9652f897d05fc87e99..43fbe29815ed66b2d2ba3fb8eb9f37400456f56c 100644 (file)
@@ -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);
index 8c27e125f57e5e5994f3843dfb11d86c165f38b2..5acf554330fdd21a2f25c82fa08f3bd05b88ed53 100644 (file)
@@ -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),