We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 75e2e2c commit 3b1d14aCopy full SHA for 3b1d14a
spring-web/src/test/java/org/springframework/web/util/ForwardedHeaderUtilsTests.java
@@ -546,7 +546,7 @@ void fromHttpRequestXForwardedHeaderForIpv6Formatting() {
546
headers.add("X-Forwarded-For", "fd00:fefe:1::4, 192.168.0.1");
547
548
InetSocketAddress address =
549
- ForwardedHeaderUtils.parseForwardedFor(URI.create("http://example.com"), headers, null);
+ ForwardedHeaderUtils.parseForwardedFor(URI.create("https://example.com"), headers, null);
550
551
assertThat(address.getHostName()).isEqualTo("[fd00:fefe:1::4]");
552
}
0 commit comments