Bug PrecompiledMvcEngine.NormalizeBaseVirtualPath



first let me thank you for this library, it's really been useful to us.

There seems to be a small bug in the NormalizeBaseVirtualPath method of the PrecompiledMvcEngine class. The call to EnsureVirtualPathPrefix(virtualPath) is not taking into account the return value. It should be virtualPath = EnsureVirtualPathPrefix(virtualPath); There's an easy work around but I thought you might like to know.

Thanks again,
Closed Apr 21, 2015 at 1:42 PM by davidebbo
This project has moved to https://github.com/RazorGenerator/RazorGenerator. Can you re-open the issue there? Thanks!


davidebbo wrote Apr 21, 2015 at 1:43 PM

And if it's a simple fix, you can go ahead and send a pull request directly :)

davidebbo wrote Apr 21, 2015 at 1:47 PM

Ok, it was trivial enough that I just went and fixed it (https://github.com/RazorGenerator/RazorGenerator/commit/49e1584c186a54654ef7a3ebd5c0898c6b98f615). It'll be in the next build. Thanks for reporting!

ChrisDesrosiers wrote Apr 21, 2015 at 3:00 PM


davidebbo wrote Apr 21, 2015 at 7:09 PM

The fix is pushed to nuget (version 2.3.4).