Fixes: U4-3821 Infinite redirect loop when upgrading from 7.0.0 to 7.0.1 and ensures media cache is rebuilt on upgrade

This commit is contained in:
Shannon
2013-12-10 11:51:03 +11:00
parent bffe52e060
commit eaac76cdc1
9 changed files with 108 additions and 28 deletions

View File

@@ -35,6 +35,17 @@ namespace Umbraco.Web.Editors
return View(GlobalSettings.Path.EnsureEndsWith('/') + "Views/Default.cshtml");
}
/// <summary>
/// This Action is used by the installer when an upgrade is detected but the admin user is not logged in. We need to
/// ensure the user is authenticated before the install takes place so we redirect here to show the standard login screen.
/// </summary>
/// <returns></returns>
[HttpGet]
public ActionResult AuthorizeUpgrade()
{
return View(GlobalSettings.Path.EnsureEndsWith('/') + "Views/AuthorizeUpgrade.cshtml");
}
/// <summary>
/// Returns the JavaScript main file including all references found in manifests
/// </summary>