Skip to content

InvalidationListener does not respect cache_manager.generate_url_type #641

Open
@mvhirsch

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.

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