Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup Connection headers before passing the middleware chain #11077

Merged
merged 4 commits into from
Sep 16, 2024

Conversation

kevinpollet
Copy link
Member

What does this PR do?

This pull request cleans the Connection headers before passing the middleware chain. When a connection header needs to pass through the middleware chain, the forwardedHeaders.connection option has to be used.

More

  • Added/updated tests
  • Added/updated documentation

Additional Notes

Co-authored-by: Romain [email protected]

Copy link
Member

@juliens juliens left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@lbenguigui lbenguigui left a comment

Choose a reason for hiding this comment

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

LGTM

@traefiker traefiker merged commit 5841441 into traefik:v2.11 Sep 16, 2024
39 checks passed
@Scrumplex
Copy link

Scrumplex commented Sep 24, 2024

Is this the relevant PR that fixes GHSA-62c8-mh53-4cqv? Or are the additional ones?

We want to backport the fix to a version of Traefik, that does not need Go 1.23, as we don't have it in the stable branch of Nixpkgs yet.

See NixOS/nixpkgs#344149

@rtribotte
Copy link
Member

Hello @Scrumplex,

Yes, indeed, this is the PR that fixes GHSA-62c8-mh53-4cqv, and there are no additional ones strictly in this regard.

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

Successfully merging this pull request may close these issues.

6 participants