You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 1, 2018. It is now read-only.
Right now UseIISIntegration takes the ASPNETCORE_APPL_PATH and adds it to the prefix registered with Kestrel so that Kestrel will split the path and path base. @davidfowl doesn't like the path base feature in Kestrel because it does not reject request from other paths. Assuming the feature gets removed, UseIISIntegration should handle the path logic via middleware instead.
Create a new middleware that's a combination of MapPath and UseWhen that splits path into path and path base like map, but continues the pipeline like UseWhen. It should also undo at the end like MapPath. This should be an independent middleware (UsePathBase("/base")) because Nginx has the same problem.
The text was updated successfully, but these errors were encountered:
Right now UseIISIntegration takes the ASPNETCORE_APPL_PATH and adds it to the prefix registered with Kestrel so that Kestrel will split the path and path base. @davidfowl doesn't like the path base feature in Kestrel because it does not reject request from other paths. Assuming the feature gets removed, UseIISIntegration should handle the path logic via middleware instead.
Create a new middleware that's a combination of MapPath and UseWhen that splits path into path and path base like map, but continues the pipeline like UseWhen. It should also undo at the end like MapPath. This should be an independent middleware (UsePathBase("/base")) because Nginx has the same problem.
The text was updated successfully, but these errors were encountered: