mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Fix checkstyle warning
See gh-34253
This commit is contained in:
+1
-1
@@ -546,7 +546,7 @@ class ForwardedHeaderUtilsTests {
|
||||
headers.add("X-Forwarded-For", "fd00:fefe:1::4, 192.168.0.1");
|
||||
|
||||
InetSocketAddress address =
|
||||
ForwardedHeaderUtils.parseForwardedFor(URI.create("http://example.com"), headers, null);
|
||||
ForwardedHeaderUtils.parseForwardedFor(URI.create("https://example.com"), headers, null);
|
||||
|
||||
assertThat(address.getHostName()).isEqualTo("[fd00:fefe:1::4]");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user