add peer filtering to all .well-known services

This commit is contained in:
redmatrix
2016-01-28 17:06:13 -08:00
parent 35a9a468ce
commit c214692f66
2 changed files with 18 additions and 1 deletions

View File

@@ -863,7 +863,7 @@ class App {
&& array_key_exists('baseurl',$this->config['system'])
&& strlen($this->config['system']['baseurl'])) {
$url = $this->config['system']['baseurl'];
$url = trim($url,'\\/');
return $url;
}
@@ -881,6 +881,7 @@ class App {
&& array_key_exists('baseurl',$this->config['system'])
&& strlen($this->config['system']['baseurl'])) {
$url = $this->config['system']['baseurl'];
$url = trim($url,'\\/');
}
$parsed = @parse_url($url);