Skip to content

Commit

Permalink
fix(settings/SetupChecks): Don't follow redirects
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelklehr committed Jul 11, 2024
1 parent 025a784 commit d20f4fe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/settings/lib/SetupChecks/CheckServerResponseTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ protected function runHEAD(string $url, bool $ignoreSSL = true, bool $httpErrors

protected function getRequestOptions(bool $ignoreSSL, bool $httpErrors): array {
$requestOptions = [
'allow_redirects' => false,
'connect_timeout' => 10,
'http_errors' => $httpErrors,
'nextcloud' => [
Expand Down

0 comments on commit d20f4fe

Please sign in to comment.