Commit 9f2e5a00 authored by Wim Leers's avatar Wim Leers Committed by Wim Leers
Browse files

Issue #3326622 by Wim Leers, trickfun:...

Issue #3326622 by Wim Leers, trickfun: \Drupal\cdn\File\FileUrlGenerator::transformRelative() calls itself instead of the decorated service → endless loop & memory exhaustion
parent ca098721
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -75,7 +75,7 @@ class FileUrlGenerator implements FileUrlGeneratorInterface {
   * {@inheritdoc}
   */
  public function transformRelative(string $file_url, bool $root_relative = TRUE): string {
    return $this->transformRelative($file_url, $root_relative);
    return $this->decorated->transformRelative($file_url, $root_relative);
  }

  /**