Fixes U4-1444 so HttpPostedFiles are now properly accepted through the SetValue method.

Corrects an issue with the RootUrl in the PhysicalFileSystem.
This commit is contained in:
Morten Christensen
2013-01-14 11:02:12 -01:00
parent 98a171266e
commit 749a872fec
7 changed files with 145 additions and 19 deletions

View File

@@ -19,7 +19,7 @@ namespace Umbraco.Core.IO
public PhysicalFileSystem(string virtualRoot)
{
RootPath = IOHelper.MapPath(virtualRoot);
_rootUrl = VirtualPathUtility.ToAbsolute(virtualRoot);
_rootUrl = IOHelper.ResolveUrl(virtualRoot);
}
public PhysicalFileSystem(string rootPath, string rootUrl)