Commit abaca954 authored by Phillip Webb's avatar Phillip Webb

Merge branch '2.2.x' into 2.3.x

Closes gh-21744
parents 9fd6ff7e bfe1c281
...@@ -61,7 +61,7 @@ public abstract class AbstractViewResolverProperties { ...@@ -61,7 +61,7 @@ public abstract class AbstractViewResolverProperties {
private Charset charset = DEFAULT_CHARSET; private Charset charset = DEFAULT_CHARSET;
/** /**
* White list of view names that can be resolved. * The view names that can be resolved.
*/ */
private String[] viewNames; private String[] viewNames;
......
...@@ -183,8 +183,7 @@ public class TomcatWebServerFactoryCustomizer ...@@ -183,8 +183,7 @@ public class TomcatWebServerFactoryCustomizer
if (StringUtils.hasLength(remoteIpHeader)) { if (StringUtils.hasLength(remoteIpHeader)) {
valve.setRemoteIpHeader(remoteIpHeader); valve.setRemoteIpHeader(remoteIpHeader);
} }
// The internal proxies default to a white list of "safe" internal IP // The internal proxies default to a list of "safe" internal IP addresses
// addresses
valve.setInternalProxies(remoteIpProperties.getInternalProxies()); valve.setInternalProxies(remoteIpProperties.getInternalProxies());
try { try {
valve.setHostHeader(remoteIpProperties.getHostHeader()); valve.setHostHeader(remoteIpProperties.getHostHeader());
......
...@@ -13,6 +13,7 @@ NOTE: Property contributions can come from additional jar files on your classpat ...@@ -13,6 +13,7 @@ NOTE: Property contributions can come from additional jar files on your classpat
Also, you can define your own properties. Also, you can define your own properties.
== Core properties == Core properties
include::config-docs/core.adoc[] include::config-docs/core.adoc[]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment