mirror of
https://github.com/nextcloud/server.git
synced 2026-06-14 19:20:35 -04:00
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:
parent
21b476ae6c
commit
27131f9094
1 changed files with 1 additions and 1 deletions
|
|
@ -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));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue