Skip to content

Replace custom reverse proxy middleware with werkzeug ProxyFix#385

Merged
hluk merged 1 commit into
release-engineering:developfrom
hluk:fix-reverse-proxy-middleware
Jun 1, 2026
Merged

Replace custom reverse proxy middleware with werkzeug ProxyFix#385
hluk merged 1 commit into
release-engineering:developfrom
hluk:fix-reverse-proxy-middleware

Conversation

@hluk
Copy link
Copy Markdown
Member

@hluk hluk commented May 29, 2026

The custom middleware duplicated the Host header behind multi-layer proxies, which werkzeug 3.1.7+ rejects with a 400 error.

Fixes #366

JIRA: RHELWF-14040

Assisted-by: Claude Code (claude-opus-4-6)

The custom middleware duplicated the Host header behind multi-layer
proxies, which werkzeug 3.1.7+ rejects with a 400 error.

Fixes release-engineering#366

JIRA: RHELWF-14040

Assisted-by: Claude Code (claude-opus-4-6)
@hluk hluk force-pushed the fix-reverse-proxy-middleware branch from cfc1621 to d2a1a11 Compare May 29, 2026 05:24
@hluk hluk requested a review from mvalik June 1, 2026 07:32
@hluk hluk merged commit f683522 into release-engineering:develop Jun 1, 2026
5 checks passed
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.

Result report fails with 400 error due to new werkzeug hostname validity check and reverse proxying problems

2 participants