diff options
author | Nils Wittenbrink <nilswittenbrink@web.de> | 2020-02-28 20:17:04 +0100 |
---|---|---|
committer | Nils Wittenbrink <nilswittenbrink@web.de> | 2020-02-28 20:17:04 +0100 |
commit | 4725fb9c1a5b2b4cfdf86dacdd6617a6aec3ee5e (patch) | |
tree | 828b36f5543824907ac0d38f8d70e60e176819dd /apps/dav/lib/Provisioning/Apple/AppleProvisioningPlugin.php | |
parent | 0cb00912ecfec0ee5434cbc45c851f3030edab41 (diff) | |
download | nextcloud-server-4725fb9c1a5b2b4cfdf86dacdd6617a6aec3ee5e.tar.gz nextcloud-server-4725fb9c1a5b2b4cfdf86dacdd6617a6aec3ee5e.zip |
Fix hostname given in Apple config file
Signed-off-by: Nils Wittenbrink <nilswittenbrink@web.de>
Diffstat (limited to 'apps/dav/lib/Provisioning/Apple/AppleProvisioningPlugin.php')
-rw-r--r-- | apps/dav/lib/Provisioning/Apple/AppleProvisioningPlugin.php | 2 |
1 files changed, 1 insertions, 1 deletions
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']; |