Parse PAC from provider configuration
Not propagated to AppExtension.
This commit is contained in:
parent
dcac7cb2d4
commit
e5a7a09b7f
|
@ -534,6 +534,9 @@ private extension OpenVPN.Configuration {
|
||||||
}
|
}
|
||||||
builder.httpsProxy = proxy
|
builder.httpsProxy = proxy
|
||||||
}
|
}
|
||||||
|
if let proxyAutoConfigurationURLString = providerConfiguration[S.proxyAutoConfigurationURL] as? String, let proxyAutoConfigurationURL = URL(string: proxyAutoConfigurationURLString) {
|
||||||
|
builder.proxyAutoConfigurationURL = proxyAutoConfigurationURL
|
||||||
|
}
|
||||||
if let proxyBypassDomains = providerConfiguration[S.proxyBypassDomains] as? [String] {
|
if let proxyBypassDomains = providerConfiguration[S.proxyBypassDomains] as? [String] {
|
||||||
builder.proxyBypassDomains = proxyBypassDomains
|
builder.proxyBypassDomains = proxyBypassDomains
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue