resizer icon indicating copy to clipboard operation
resizer copied to clipboard

Define behavior of PathUtils.ResolveAppRelative and variants

Open lilith opened this issue 11 years ago • 3 comments

ResolveAppRelative and ResolveAppRelativeAssumeAppRelative currently have undefined behavior in the absence of an HttpEnvironment. In the develop branch, one resolves to a physical path, while the other remains a virtual path.

lilith avatar Sep 27 '14 15:09 lilith

Good point. I have updated ResolveAppRelative to be virtual.

GravitasExtra avatar Sep 27 '14 16:09 GravitasExtra

We should add unit tests for this (and other PathUtils methods)

lilith avatar Oct 29 '14 16:10 lilith

Both with and without an HttpContext...

lilith avatar Nov 11 '14 16:11 lilith