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>
This commit is contained in:
Josh 2026-05-28 13:10:56 -04:00
parent d68a7f0d94
commit a494fcd2c6

View file

@ -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));
}