Fixes anti-forgery, fixes tempdata, adds front-end security/identity, gets member macro snippets and controllers all working, removes old code, adds more props to the member identity
This commit is contained in:
@@ -116,7 +116,7 @@ namespace Umbraco.Cms.Web.Common.Views
|
||||
{
|
||||
// filter / add preview banner
|
||||
// ASP.NET default value is text/html
|
||||
if (Context.Response.ContentType.InvariantContains("text/html"))
|
||||
if (Context.Response?.ContentType?.InvariantContains("text/html") ?? false)
|
||||
{
|
||||
if ((UmbracoContext.IsDebug || UmbracoContext.InPreviewMode)
|
||||
&& tagHelperOutput.TagName != null
|
||||
|
||||
Reference in New Issue
Block a user