forked from Deuxfleurs/tricot
Special handling of hostname:port
This commit is contained in:
parent
3bdb417bfb
commit
25ddb1b23e
1 changed files with 5 additions and 1 deletions
|
@ -48,7 +48,11 @@ impl CertStore {
|
|||
let proxy_config: Arc<ProxyConfig> = rx_proxy_config.borrow().clone();
|
||||
for ent in proxy_config.entries.iter() {
|
||||
if let HostDescription::Hostname(domain) = &ent.host {
|
||||
domains.insert(domain.clone());
|
||||
if let Some((host, _port)) = domain.split_once(':') {
|
||||
domains.insert(host.to_string());
|
||||
} else {
|
||||
domains.insert(domain.clone());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue