1
0
Fork 0
mirror of https://github.com/VSadov/Satori.git synced 2025-06-10 18:11:04 +09:00

[browser] host should not forward env variables (#104557)

This commit is contained in:
Pavel Savara 2024-07-09 14:12:00 +02:00 committed by GitHub
parent dd4b757bd5
commit 9fb2c80a28
Signed by: github
GPG key ID: B5690EEEBB952194

View file

@ -61,12 +61,6 @@ internal sealed class BrowserHost
envVars[kvp.Key] = kvp.Value;
}
foreach (DictionaryEntry de in Environment.GetEnvironmentVariables())
{
if (de.Key is not null && de.Value is not null)
envVars[(string)de.Key] = (string)de.Value;
}
var runArgsJson = new RunArgumentsJson(applicationArguments: _args.AppArgs,
runtimeArguments: _args.CommonConfig.RuntimeArguments,
environmentVariables: envVars,