Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/core-cannot-use-system-web

This commit is contained in:
Bjarke Berg
2019-12-02 14:13:33 +01:00
168 changed files with 7442 additions and 6114 deletions

View File

@@ -254,7 +254,7 @@ namespace Umbraco.Tests.IO
var sfs = new PhysicalFileSystem(ioHelper, logger, path + "/ShadowSystem/", "ignore");
var ss = new ShadowFileSystem(fs, sfs);
Assert.Throws<FileSecurityException>(() =>
Assert.Throws<UnauthorizedAccessException>(() =>
{
using (var ms = new MemoryStream(Encoding.UTF8.GetBytes("foo")))
ss.AddFile("../../f1.txt", ms);