From a494fcd2c6f4ee3c09cacc81ef476ac7fd021f02 Mon Sep 17 00:00:00 2001 From: Josh Date: Thu, 28 May 2026 13:10:56 -0400 Subject: [PATCH] chore(DAV): fixup proxyexclude default value check Co-authored-by: Kate <26026535+provokateurin@users.noreply.github.com> Signed-off-by: Josh --- lib/private/Files/Storage/DAV.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); }