add peer filtering to all .well-known services
This commit is contained in:
3
boot.php
3
boot.php
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user