Loading src/DownloadManager.php +1 −1 Changes for src/DownloadManager.php: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -119,7 +119,7 @@ final class DownloadManager implements DownloadManagerInterface { $response = $this->client->get($url, $options); } catch (ClientException $e) { if ($e->getCode() == 404) { if ($e->getCode() == 404 && str_starts_with($relative_path, 'styles/')) { // If this is a 404, it may be an image style that is converting the // file type. // @see \Drupal\image\Controller\ImageStyleDownloadController::deliver() Loading Loading
src/DownloadManager.php +1 −1 Changes for src/DownloadManager.php: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -119,7 +119,7 @@ final class DownloadManager implements DownloadManagerInterface { $response = $this->client->get($url, $options); } catch (ClientException $e) { if ($e->getCode() == 404) { if ($e->getCode() == 404 && str_starts_with($relative_path, 'styles/')) { // If this is a 404, it may be an image style that is converting the // file type. // @see \Drupal\image\Controller\ImageStyleDownloadController::deliver() Loading