You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I upgrate spring-cloud-gateway to version 4.2.0, I found that SslBundles does work at all. After deeply diving into the source code, I found that the conditions might have some problems as below:
protectedSslBundlegetBundle() {
// this conditional expression is always trueif (ssl.getSslBundle() == null || ssl.getSslBundle().length() > 0) {
returnnull;
}
if (bundles.getBundleNames().contains(ssl.getSslBundle())) {
returnbundles.getBundle(ssl.getSslBundle());
}
returnnull;
}
The problem is that the conditional expression is always true below.
Describe the bug
When I upgrate
spring-cloud-gateway
to version4.2.0
, I found thatSslBundles
does work at all. After deeply diving into the source code, I found that the conditions might have some problems as below:The problem is that the conditional expression is always
true
below.Sample
4.2.0
AbstractSslConfigurer#getBundle()
Question
I notified that this bug has been reported before, this bug might be fixed in version
4.2.1
.I was wondering when we can expect an available version to be released?
References
The text was updated successfully, but these errors were encountered: