mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-14 00:24:40 +00:00
filter, port alias download uses wrong interpretation of checkaliasesurlcert option, by default it doesn't seem to validate certs. we should definitely change our config details to enable this....
This commit is contained in:
parent
fc7fd2be4c
commit
34a695074a
@ -105,7 +105,7 @@ function filter_core_get_url_port_alias($name)
|
||||
$alias_content = file_get_contents($urltable_filename);
|
||||
} else {
|
||||
$arrContextOptions = array();
|
||||
if (isset($config['system']['checkaliasesurlcert'])) {
|
||||
if (!isset($config['system']['checkaliasesurlcert'])) {
|
||||
$arrContextOptions['ssl'] = array("verify_peer"=>false,"verify_peer_name"=>false);
|
||||
}
|
||||
foreach ($urls as $url) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user