chore(DAV): fixup proxyexclude default value check

Co-authored-by: Kate <26026535+provokateurin@users.noreply.github.com>
Signed-off-by: Josh <josh.t.richards@gmail.com>
pull/60787/head
Josh 3 months ago
parent d68a7f0d94
commit a494fcd2c6
  1. 2
      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));
}

Loading…
Cancel
Save