Skip to content

Commit b1a5b74

Browse files
skjnldsvbackportbot[bot]
authored andcommitted
Revert "chore(download): allows Updater to follow redirects"
This reverts commit e8d3fcf.
1 parent 7ff15be commit b1a5b74

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lib/Updater.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -498,8 +498,6 @@ private function getUpdateServerResponse(): array {
498498
CURLOPT_RETURNTRANSFER => 1,
499499
CURLOPT_URL => $updateURL,
500500
CURLOPT_USERAGENT => 'Nextcloud Updater',
501-
CURLOPT_FOLLOWLOCATION => 1,
502-
CURLOPT_MAXREDIRS => 2,
503501
]);
504502

505503
if ($this->getConfigOption('proxy') !== null) {

0 commit comments

Comments
 (0)