mirror of
https://github.com/Ylianst/MeshAgent
synced 2026-01-10 20:43:46 +00:00
Merge branch 'master' of https://github.com/Ylianst/MeshAgent
This commit is contained in:
@@ -389,7 +389,7 @@ int MeshAgent_GetSystemProxy(MeshAgentHostContainer *agent, char *buffer, size_t
|
||||
int i = ILibString_IndexOf(*env, envLen, "=", 1);
|
||||
if (i > 0)
|
||||
{
|
||||
if (i == 11 && strncmp(*env, "https_proxy", 11) == 0)
|
||||
if (i == 11 && (strncmp(*env, "https_proxy", 11) == 0 || strncmp(*env, "HTTPS_PROXY", 11) == 0))
|
||||
{
|
||||
if (ILibString_StartsWith(*env + i + 1, envLen - i - 1, "http://", 7) != 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user