Skip to content

Commit

Permalink
Merge pull request #29983 from izeye
Browse files Browse the repository at this point in the history
* gh-29983:
  Remove redundant ConditionalOnMissingFilterBean

Closes gh-29983
  • Loading branch information
wilkinsona committed Mar 2, 2022
2 parents 35f9358 + 140d24d commit b43715c
Showing 1 changed file with 0 additions and 1 deletion.
Expand Up @@ -92,7 +92,6 @@ static class ForwardedHeaderFilterConfiguration {

@Bean
@ConditionalOnClass(name = "org.apache.catalina.startup.Tomcat")
@ConditionalOnMissingFilterBean(ForwardedHeaderFilter.class)
ForwardedHeaderFilterCustomizer tomcatForwardedHeaderFilterCustomizer(ServerProperties serverProperties) {
return (filter) -> filter.setRelativeRedirects(serverProperties.getTomcat().isUseRelativeRedirects());
}
Expand Down

0 comments on commit b43715c

Please sign in to comment.