Repository navigation
[Backport 2026.03.xx] Fix the hostnameWhitelist and hostsWhitelist descriptions in the proxy docs - #13109
Merged
Conversation
…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.
3 of 5 tasks
offtherailz
approved these changes
Nov 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
The proxy documentation and the comment in
proxy.propertiessay that an emptyhostnameWhitelistlets 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 aproxy.propertiesin the data directory can change the value but cannot remove the key.This PR corrects the paragraph in
docs/developer-guide/proxy-configuration.mdand the same comment injava/weband in the project templateproxy.properties. It also fixes thehostsWhitelistrow, 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
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.