Added some code comments and did a check for redirects (returns null if this is the case)
This commit is contained in:
@@ -104,7 +104,8 @@ namespace Umbraco.Web
|
||||
// instanciate a request a process
|
||||
// important to use CleanedUmbracoUrl - lowercase path-only version of the current url
|
||||
var docreq = new PublishedContentRequest(umbracoContext.CleanedUmbracoUrl, umbracoContext.RoutingContext);
|
||||
docreq.ProcessRequest(httpContext, umbracoContext, docreq2 => RewriteToUmbracoHandler(HttpContext.Current, uri.Query, docreq2.RenderingEngine));
|
||||
docreq.ProcessRequest(httpContext, umbracoContext,
|
||||
docreq2 => RewriteToUmbracoHandler(HttpContext.Current, uri.Query, docreq2.RenderingEngine));
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user