From 788f8c6ab32401a069648b4ccdc998bd82ca4d95 Mon Sep 17 00:00:00 2001 From: Nikolaj Date: Wed, 7 Sep 2022 14:44:47 +0200 Subject: [PATCH] Undo breaking change (cherry picked from commit 5bb38b39c9aba2240b9fab056c672f7fcccd384c) --- src/Umbraco.Web.BackOffice/Install/InstallController.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Umbraco.Web.BackOffice/Install/InstallController.cs b/src/Umbraco.Web.BackOffice/Install/InstallController.cs index 7de93d4296..a62a96f909 100644 --- a/src/Umbraco.Web.BackOffice/Install/InstallController.cs +++ b/src/Umbraco.Web.BackOffice/Install/InstallController.cs @@ -11,6 +11,7 @@ using Umbraco.Cms.Core.Security; using Umbraco.Cms.Core.Services; using Umbraco.Cms.Core.WebAssets; using Umbraco.Cms.Infrastructure.Install; +using Umbraco.Cms.Web.Common.Attributes; using Umbraco.Cms.Web.Common.Filters; using Umbraco.Extensions; @@ -72,4 +73,8 @@ public class InstallController : Controller return View(Path.Combine(Constants.SystemDirectories.Umbraco.TrimStart("~"), Constants.Web.Mvc.InstallArea, nameof(Index) + ".cshtml")); } + + [HttpGet] + [IgnoreFromNotFoundSelectorPolicy] + public ActionResult Redirect() => NotFound(); }