Skip to content

Fix the hostnameWhitelist and hostsWhitelist descriptions in the proxy docs - #13108

Merged
offtherailz merged 1 commit into
masterfrom
master-proxy-docs-hostnamewhitelist
Nov 2, 2026
Merged

offtherailz merged 1 commit into
masterfrom
master-proxy-docs-hostnamewhitelist

Conversation

@afabiani

@afabiani afabiani commented Oct 30, 2026 •

Copy link
Copy Markdown
Member

Description

The proxy documentation and the comment in proxy.properties say that an empty hostnameWhitelist lets the proxy reach any public host. http-proxy does the opposite: the list parser turns an empty value into a list with one empty name (Utils.parseWhiteList), so every host is refused. The host check is off only when the key is missing, and a proxy.properties in the data directory can change the value but cannot remove the key.

This PR corrects the paragraph in docs/developer-guide/proxy-configuration.md and the same comment in java/web and in the project template proxy.properties. It also fixes the hostsWhitelist row, which had the same mistake about empty values, and says that entries are written without spaces and without a port, because they are compared exactly with the host of the requested URL.

Documentation section involved

  • User Guide
  • Developer Guide

Please check if the PR fulfills these requirements

Issue

No issue opened; found while checking the proxy configuration against the http-proxy code.

Other useful information

The same change for 2026.03.xx: #13109.

…y docs

The proxy documentation and the comment in proxy.properties said that an
empty hostnameWhitelist lets the proxy reach any public host. http-proxy
does the opposite: the list parser turns an empty value into a list with
one empty name, so every host is refused, and the host check is off only
when the key is missing. The hostsWhitelist row had the same mistake.

Also document that entries are written without spaces and without a
port, because they are compared exactly with the host of the URL.
@offtherailz
offtherailz disabled auto-merge November 2, 2026 11:22
@offtherailz
offtherailz merged commit d4e27f8 into master Nov 2, 2026
24 checks passed
@offtherailz
offtherailz deleted the master-proxy-docs-hostnamewhitelist branch November 2, 2026 11:22
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.

3 participants