From e6a354876dbac8d3f701e3a7f2b472fdd2fb500f Mon Sep 17 00:00:00 2001 From: Shannon Date: Fri, 1 Jun 2018 01:00:51 +1000 Subject: [PATCH] disables ContentFinderByUrlAndTemplate --- src/Umbraco.Web/Routing/ContentFinderByUrlAndTemplate.cs | 1 + src/Umbraco.Web/Runtime/WebRuntimeComponent.cs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Umbraco.Web/Routing/ContentFinderByUrlAndTemplate.cs b/src/Umbraco.Web/Routing/ContentFinderByUrlAndTemplate.cs index 8f507078b3..0b4c02aa8e 100644 --- a/src/Umbraco.Web/Routing/ContentFinderByUrlAndTemplate.cs +++ b/src/Umbraco.Web/Routing/ContentFinderByUrlAndTemplate.cs @@ -12,6 +12,7 @@ namespace Umbraco.Web.Routing /// Provides an implementation of that handles page nice urls and a template. /// /// + /// 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 /// Handles /foo/bar/template where /foo/bar is the nice url of a document, and template a template alias. /// If successful, then the template of the document request is also assigned. /// diff --git a/src/Umbraco.Web/Runtime/WebRuntimeComponent.cs b/src/Umbraco.Web/Runtime/WebRuntimeComponent.cs index 460f881dae..6b9109b7df 100644 --- a/src/Umbraco.Web/Runtime/WebRuntimeComponent.cs +++ b/src/Umbraco.Web/Runtime/WebRuntimeComponent.cs @@ -173,7 +173,7 @@ namespace Umbraco.Web.Runtime .Append() .Append() .Append() - .Append() + //.Append() // disabled, this is an odd finder .Append() .Append();