Skip to content

Closed - #159

Closed
Hackwar wants to merge 1 commit into
joomla-framework:4.x-devfrom
Hackwar:4.x-trusted-proxies
Closed

Closed#159
Hackwar wants to merge 1 commit into
joomla-framework:4.x-devfrom
Hackwar:4.x-trusted-proxies

Conversation

@Hackwar

@Hackwar Hackwar commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

No description provided.

isSslConnection() accepted a client supplied "X-Forwarded-Proto: https"
from any peer. The detected scheme ends up in uri.request and uri.base.*,
which redirect() and applications use to build absolute URLs, so any
client could switch them to https.

The header is now only honoured when REMOTE_ADDR matches the new
"trusted_proxies" configuration option (IP addresses and CIDR ranges).
The docs explain the option and recommend pinning site_uri, because the
host part still comes from the Host header.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Hackwar Hackwar closed this Nov 13, 2026
@Hackwar Hackwar changed the title [4.x] Honour X-Forwarded-Proto only from trusted proxies Closed Nov 13, 2026
@Hackwar
Hackwar deleted the 4.x-trusted-proxies branch November 13, 2026 12:49
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