src/CdnFarfutureController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CdnFarfutureController.php b/src/CdnFarfutureController.php index a5d5cd0..523c21f 100644 --- a/src/CdnFarfutureController.php +++ b/src/CdnFarfutureController.php @@ -64,7 +64,7 @@ class CdnFarfutureController { * only happen in case of malicious requests or in case of a malfunction in * \Drupal\cdn\PathProcessor\CdnFarfuturePathProcessor. */ - public function downloadByScheme(Request $request, string $security_token, int $mtime, string $scheme) : Response { + public function download(Request $request, string $security_token, int $mtime, string $scheme) : Response { // Validate the scheme early. if (!$request->query->has('relative_file_url') || ($scheme !== FileUrlGenerator::RELATIVE && !$this->streamWrapperManager->isValidScheme($scheme))) { throw new BadRequestHttpException();