Vulnerability in EPiServer.Forms
In version 9 the VirtualPathProvider class has been removed. I need to use the GetProvider method to get the physical path for a VirtualPathNonUnifiedProvider. How would I do that in Episerver 9?
You can get an instance of EPiServer.Web.Hosting.VirtualPathRegistrationHandler from IOC container. That has a dictionary property RegisteredVirtualPathProviders that gives you access to all virtual path providers registered through episerver API together with their configuration.
Haha, that was easy enough. Thanks Johan!