Merge pull request #29983 from izeye

* gh-29983:
  Remove redundant ConditionalOnMissingFilterBean

Closes gh-29983
pull/30505/head
Andy Wilkinson 3 years ago
commit b43715c70b

@ -92,7 +92,6 @@ public class ServletWebServerFactoryAutoConfiguration {
@Bean
@ConditionalOnClass(name = "org.apache.catalina.startup.Tomcat")
@ConditionalOnMissingFilterBean(ForwardedHeaderFilter.class)
ForwardedHeaderFilterCustomizer tomcatForwardedHeaderFilterCustomizer(ServerProperties serverProperties) {
return (filter) -> filter.setRelativeRedirects(serverProperties.getTomcat().isUseRelativeRedirects());
}

Loading…
Cancel
Save