kill UmbracoWebsiteSecurityFactory and UmbracoRoutedRequest, simplify all this.

This commit is contained in:
Shannon
2021-03-04 15:12:58 +11:00
parent ed5116664f
commit efb84409f5
6 changed files with 5 additions and 89 deletions

View File

@@ -121,9 +121,6 @@ namespace Umbraco.Cms.Web.Website.Routing
// Store the route values as a httpcontext feature
httpContext.Features.Set(umbracoRouteValues);
// publish an event that we've routed a request
await _eventAggregator.PublishAsync(new UmbracoRoutedRequest(_umbracoContextAccessor.UmbracoContext));
// Need to check if there is form data being posted back to an Umbraco URL
PostedDataProxyInfo postedInfo = GetFormInfo(httpContext, values);
if (postedInfo != null)