mirror of
https://github.com/nextcloud/server.git
synced 2026-06-12 02:00:51 -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
d68a7f0d94
commit
a494fcd2c6
1 changed files with 1 additions and 1 deletions
|
|
@ -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));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue