Skip to content

Bugfix: automatically detect url type generation for varnish#657

Open
mvhirsch wants to merge 1 commit into
FriendsOfSymfony:3.xfrom
mvhirsch:bugfix/varnish-auto-path-resolution
Open

Bugfix: automatically detect url type generation for varnish#657
mvhirsch wants to merge 1 commit into
FriendsOfSymfony:3.xfrom
mvhirsch:bugfix/varnish-auto-path-resolution

Conversation

@mvhirsch
Copy link
Copy Markdown
Contributor

Dear @dbu,

I now stumbled upon a bug where generate_url_type must be set if you're using Varnish and proxy_client.varnish.http.base_url is set. This is because the extension only takes proxy_client.[client].base_url into account, while Varnish client uses proxy_client.varnish.http.base_url (lacking "http" in array selector).

This PR fixes the automatic absolute/relative path generation if you use a combination of Varnish + custom base URL.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant