Skip to content

Commit 1253151

Browse files
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>
1 parent 1318db8 commit 1253151

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/private/Files/Storage/DAV.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ protected function init(): void {
160160
$this->client->setThrowExceptions(true);
161161

162162
$proxyExclude = Server::get(IConfig::class)->getSystemValue('proxyexclude', []);
163-
if (!empty($proxyExclude)) {
163+
if ($proxyExclude !== []) {
164164
$this->client->addCurlSetting(CURLOPT_NOPROXY, implode(',', $proxyExclude));
165165
}
166166

0 commit comments

Comments
 (0)