diff --git a/core/modules/image/lib/Drupal/image/Controller/ImageStyleDownloadController.php b/core/modules/image/lib/Drupal/image/Controller/ImageStyleDownloadController.php index 2adf7d9..c95eeab 100644 --- a/core/modules/image/lib/Drupal/image/Controller/ImageStyleDownloadController.php +++ b/core/modules/image/lib/Drupal/image/Controller/ImageStyleDownloadController.php @@ -117,7 +117,7 @@ public function deliver(Request $request, $scheme, ImageStyleInterface $image_st // control access to the file. if ($scheme == 'private') { if (file_exists($derivative_uri)) { - return $this->fileDownload($request, $scheme); + return parent::deliver($request, $scheme); } else { $headers = $this->moduleHandler->invokeAll('file_download', array($image_uri));