Skip to content

IBX-11181: Merged branch '4.6' into 5.0 - #110

Merged
alongosz merged 3 commits into
5.0from
merge/4.6-to-5.0
Oct 29, 2026
Merged

alongosz merged 3 commits into
5.0from
merge/4.6-to-5.0

Conversation

@vidarl

@vidarl vidarl commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

…VCL (#87)

For more details see https://ibexa.atlassian.net/browse/IBX-11181 and #87

Key changes:

* Stripped client-supplied `X-Forwarded-*`, `Forwarded`, `X-Client-IP` and `Client-Cdn` headers in `vcl_recv` of `varnish5/6/7/9.vcl` unless the peer is in the new `trusted_proxies` ACL

* Overwrote `X-Forwarded-For` with the real client IP for untrusted peers

* Added the `trusted_proxies` ACL to `parameters.vcl` and documented it in the Varnish README

* Added varnishtest coverage for trusted and untrusted peers, run in a new CI job

* Added Behat coverage for header filtering and trusted proxy pass-through
@vidarl vidarl added the Fast-forward merge PR should be merged in a fast-forward way label Oct 29, 2026
@vidarl
vidarl marked this pull request as ready for review October 29, 2026 08:41
Comment thread composer.json
},
"require-dev": {
"guzzlehttp/psr7": "^2.7",
"ibexa/behat": "~5.0.x-dev",

@vidarl vidarl Oct 29, 2026 •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I noticed one thing when merging up. In 4.6 it is currently this in this repo :
"ibexa/behat": "~4.6.0",

While it seems like other repos on 4.6 also uses -dev, ie https://github.com/ibexa/page-builder/blob/4.6/composer.json#L50 :

    "require-dev": {
(...)
        "ibexa/behat": "~4.6.0@dev",

I should change this in 4.6 then, right?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Yeah, it's incorrect on 4.6, but unrelated ATM. You can do it whenever you're free.

@sonarqubecloud

Copy link
Copy Markdown

Comment thread composer.json
},
"require-dev": {
"guzzlehttp/psr7": "^2.7",
"ibexa/behat": "~5.0.x-dev",

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Yeah, it's incorrect on 4.6, but unrelated ATM. You can do it whenever you're free.

@alongosz
alongosz merged commit 62e1c26 into 5.0 Oct 29, 2026
54 of 66 checks passed
@alongosz
alongosz deleted the merge/4.6-to-5.0 branch October 29, 2026 12:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Fast-forward merge PR should be merged in a fast-forward way Ready for review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants