[*] security: bIsIntranetTrusted not properly respected
This commit is contained in:
parent
afa2cb5944
commit
523abaf0bb
@ -53,7 +53,7 @@ namespace Aurora::IO::FS
|
||||
return !AuFS::FileExists(path);
|
||||
}
|
||||
|
||||
return (gRuntimeConfig.fio.bIsIntranetTrusted && AuStringContains(content, "ZoneId=1\r\n")) || // intranet
|
||||
return (!gRuntimeConfig.fio.bIsIntranetTrusted && AuStringContains(content, "ZoneId=1\r\n")) || // intranet
|
||||
AuStringContains(content, "ZoneId=3\r\n") || // internet
|
||||
AuStringContains(content, "ZoneId=4\r\n"); // untrusted
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user