We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e46c823 commit cf8bf52Copy full SHA for cf8bf52
libraries/src/Updater/UpdateAdapter.php
@@ -255,13 +255,13 @@ protected function getUpdateSiteResponse($options = [])
255
'headers' => $headers,
256
]);
257
$dispatcher->dispatch('onInstallerBeforeUpdateSiteDownload', $event);
258
- $url = $event->getArgument('url', $url);
+ $newUrl = $event->getArgument('url', $url);
259
$headers = $event->getArgument('headers', $headers);
260
261
// Http transport throws an exception when there's no response.
262
try {
263
$http = HttpFactory::getHttp($httpOption);
264
- $response = $http->get($url, $headers, 20);
+ $response = $http->get($newUrl, $headers, 20);
265
} catch (\RuntimeException) {
266
$response = null;
267
}
0 commit comments