commit
						6e71994b6b
					
				| 
						 | 
					@ -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
 | 
				
			||||||
			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
 | 
				
			||||||
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[]
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue