From 27131f9094ea59b7ce09c08c8cf017c1e8622035 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 f119dd5aec8..ecae2b4a3f5 100644 --- a/lib/private/Files/Storage/DAV.php +++ b/lib/private/Files/Storage/DAV.php @@ -158,7 +158,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)); }