diff --git a/lib/private/Files/Storage/DAV.php b/lib/private/Files/Storage/DAV.php index db6371b2c7e..b6e4a44f64b 100644 --- a/lib/private/Files/Storage/DAV.php +++ b/lib/private/Files/Storage/DAV.php @@ -160,7 +160,7 @@ class DAV extends Common { $this->client->setThrowExceptions(true); $proxyExclude = Server::get(IConfig::class)->getSystemValue('proxyexclude', []); - if (!empty($proxyExclude)) { + if ($proxyExclude !== []) { $this->client->addCurlSetting(CURLOPT_NOPROXY, implode(',', $proxyExclude)); }