Replace "blacklist" with alternative words
See gh-25262
This commit is contained in:
@@ -76,7 +76,7 @@ class CrossOriginAnnotationIntegrationTests extends AbstractRequestMappingIntegr
|
||||
|
||||
@Override
|
||||
protected RestTemplate initRestTemplate() {
|
||||
// JDK default HTTP client blacklist headers like Origin
|
||||
// JDK default HTTP client disallowed headers like Origin
|
||||
return new RestTemplate(new HttpComponentsClientHttpRequestFactory());
|
||||
}
|
||||
|
||||
|
||||
@@ -64,7 +64,7 @@ class GlobalCorsConfigIntegrationTests extends AbstractRequestMappingIntegration
|
||||
|
||||
@Override
|
||||
protected RestTemplate initRestTemplate() {
|
||||
// JDK default HTTP client blacklists headers like Origin
|
||||
// JDK default HTTP client disallowed headers like Origin
|
||||
return new RestTemplate(new HttpComponentsClientHttpRequestFactory());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user