Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitadd127a

Browse files
authored
Merge pull requestpythonnet#842 from pythonnet/revert-655-patch-1
Revert zone check for assembly loading
2 parents501cbbe +c0f3886 commitadd127a

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

‎src/runtime/moduleobject.cs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -413,14 +413,6 @@ public static Assembly AddReference(string name)
413413
{
414414
assembly=AssemblyManager.LoadAssemblyFullPath(name);
415415
}
416-
if(System.IO.File.Exists(name))
417-
{
418-
varzone=System.Security.Policy.Zone.CreateFromUrl(name);
419-
if(zone.SecurityZone!=System.Security.SecurityZone.MyComputer)
420-
{
421-
thrownewException($"File is blocked (NTFS Security)");
422-
}
423-
}
424416
if(assembly==null)
425417
{
426418
thrownewFileNotFoundException($"Unable to find assembly '{name}'.");

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp