Skip to content

[Backport 2026.03.xx] Fix the hostnameWhitelist and hostsWhitelist descriptions in the proxy docs - #13109

Merged
offtherailz merged 1 commit into
2026.03.xxfrom
2026.03.xx-proxy-docs-hostnamewhitelist
Nov 2, 2026
Merged

offtherailz merged 1 commit into
2026.03.xxfrom
2026.03.xx-proxy-docs-hostnamewhitelist

Conversation

@afabiani

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

Backport of #13108 to 2026.03.xx. The three files are identical on both branches, so the change is the same.

…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 merged commit fa36907 into 2026.03.xx Nov 2, 2026
24 checks passed
@offtherailz
offtherailz deleted the 2026.03.xx-proxy-docs-hostnamewhitelist branch November 2, 2026 09:25
@tdipisa tdipisa added this to the 2026.03.00 milestone Nov 2, 2026
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