mirror of
https://github.com/nextcloud/server.git
synced 2026-06-13 18:50:47 -04:00
chore: make psalm happy even though has defaults
Signed-off-by: Josh <josh.t.richards@gmail.com>
This commit is contained in:
parent
172b99c450
commit
203309fefe
1 changed files with 1 additions and 1 deletions
|
|
@ -113,7 +113,7 @@ class DnsPinMiddleware {
|
|||
$ports[] = (string)$port;
|
||||
}
|
||||
|
||||
$targetIps = $this->dnsResolve(idn_to_ascii($hostName), 0);
|
||||
$targetIps = $this->dnsResolve(idn_to_ascii($hostName, IDNA_DEFAULT, INTL_IDNA_VARIANT_UTS46), 0);
|
||||
|
||||
if (empty($targetIps)) {
|
||||
throw new LocalServerException('No DNS record found for ' . $hostName);
|
||||
|
|
|
|||
Loading…
Reference in a new issue