Skip to content

InvalidationListener does not respect cache_manager.generate_url_type #641

Description

@mvhirsch

InvalidationListener does not respect setting fos_http_cache.cache_manager.generate_url_type.
I just noticed, because some of my (invalidation) requests used to have an absolute URL while some used absolute paths.

In this line:

$path = $this->urlGenerator->generate($route, $requestParams);

I think this should be consistent and respect the setting; even if (like in my case) it's "auto" but using a custom_proxy.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions