IContentFinder not hit when url contains a file extension
I built an IContentFinder but it isn't even hit if the url contains .pdf at the end.
I suspect that something early on in the pipeline is intercepting those requests. Not sure if that something is inside umbraco or even earlier.
Anybody know how to get those requests to hit my content finder?
Alternatively,
The reason I'm using a contentfinder is I'm trying to build a redirecting middleware that has access to the umbracocontext or umbracohelper but a typical .net middleware throws a "Wasn't able to get an UmbracoContext" when I try to inject it
IContentFinder not hit when url contains a file extension
I built an IContentFinder but it isn't even hit if the url contains .pdf at the end. I suspect that something early on in the pipeline is intercepting those requests. Not sure if that something is inside umbraco or even earlier.
Anybody know how to get those requests to hit my content finder?
Alternatively, The reason I'm using a contentfinder is I'm trying to build a redirecting middleware that has access to the umbracocontext or umbracohelper but a typical .net middleware throws a "Wasn't able to get an UmbracoContext" when I try to inject it
is working on a reply...