-
Notifications
You must be signed in to change notification settings - Fork 68
Closed
Labels
In-PRIssues that have a PR open for them.Issues that have a PR open for them.enhancementNew feature or requestNew feature or request
Description
Summary
Our repo uses HttpRequest.PhysicalPath which is not supported by ASP.NetCore and this adapters.
I want to ask if there is equivalent and if there is plan to add them to adapter.
Motivation and goals
We need migrate code (an API in Sharepoint) to ASP.NetCore and we find that the APIs are not supported by ASP.NetCore.
In scope
HttpRequest.PhysicalPath
From src code, it uses HostingEnvironment.MapPathInternal which is related to this issue: Ask About System.Web.Hosting.HostingEnvironment
Examples
if (null != context.Request
&& null != context.Request.PhysicalPath
&& IsSuspiciousPhysicalPath(context.Request.PhysicalPath))
{
Log("PhysicalPath is suspicious");
}Metadata
Metadata
Assignees
Labels
In-PRIssues that have a PR open for them.Issues that have a PR open for them.enhancementNew feature or requestNew feature or request