Skip to content

Bugfix: automatically detect url type generation for varnish#657

Merged
dbu merged 1 commit into
FriendsOfSymfony:3.xfrom
mvhirsch:bugfix/varnish-auto-path-resolution
Jun 8, 2026
Merged

Bugfix: automatically detect url type generation for varnish#657
dbu merged 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.

@dbu dbu left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you for this bugfix

@dbu dbu merged commit c500786 into FriendsOfSymfony:3.x Jun 8, 2026
13 of 14 checks passed
@dbu

dbu commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

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.

2 participants