disables ContentFinderByUrlAndTemplate

This commit is contained in:
Shannon
2018-06-01 01:00:51 +10:00
parent 40791e1266
commit e6a354876d
2 changed files with 2 additions and 1 deletions

View File

@@ -12,6 +12,7 @@ namespace Umbraco.Web.Routing
/// Provides an implementation of <see cref="IContentFinder"/> that handles page nice urls and a template.
/// </summary>
/// <remarks>
/// <para>This finder allows for an odd routing pattern similar to altTemplate, probably only use case is if there is an alternative mime type template and it should be routable by something like "/hello/world/json" where the JSON template is to be used for the "world" page</para>
/// <para>Handles <c>/foo/bar/template</c> where <c>/foo/bar</c> is the nice url of a document, and <c>template</c> a template alias.</para>
/// <para>If successful, then the template of the document request is also assigned.</para>
/// </remarks>

View File

@@ -173,7 +173,7 @@ namespace Umbraco.Web.Runtime
.Append<ContentFinderByPageIdQuery>()
.Append<ContentFinderByUrl>()
.Append<ContentFinderByIdPath>()
.Append<ContentFinderByUrlAndTemplate>()
//.Append<ContentFinderByUrlAndTemplate>() // disabled, this is an odd finder
.Append<ContentFinderByUrlAlias>()
.Append<ContentFinderByRedirectUrl>();