From 372a3ddd507e6c329bb24b6d976ecff60f5b8a1b Mon Sep 17 00:00:00 2001 From: Nils Wittenbrink Date: Fri, 28 Feb 2020 20:17:04 +0100 Subject: [PATCH] Fix hostname given in Apple config file Signed-off-by: Nils Wittenbrink --- apps/dav/lib/Provisioning/Apple/AppleProvisioningPlugin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/dav/lib/Provisioning/Apple/AppleProvisioningPlugin.php b/apps/dav/lib/Provisioning/Apple/AppleProvisioningPlugin.php index fd0171faf45..0f31dd420b3 100644 --- a/apps/dav/lib/Provisioning/Apple/AppleProvisioningPlugin.php +++ b/apps/dav/lib/Provisioning/Apple/AppleProvisioningPlugin.php @@ -125,7 +125,7 @@ class AppleProvisioningPlugin extends ServerPlugin { return false; } - $absoluteURL = $request->getAbsoluteUrl(); + $absoluteURL = $this->urlGenerator->getBaseUrl(); $parsedUrl = parse_url($absoluteURL); if (isset($parsedUrl['port'])) { $serverPort = (int) $parsedUrl['port']; -- 2.39.5