You might want to add another option to add non-routable IPs to the list too. I would create a configuration option called proxy.config.http.redirect_enabled (with all the options) and start with 0 as off and set proxy.config.http.number_of_redirections to 1 as the default.
When checking for localhost you should resolve the ip and check to see if it matches any of the IPs on the server. That could be a long list if there servers has many IP aliases. This still doesn’t block IPs used by other servers in the same network. [ Full content available at: https://github.com/apache/trafficserver/pull/4145 ] This message was relayed via gitbox.apache.org for [email protected]
