Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
spencergibb committed Jul 28, 2020
1 parent 7705613 commit 73d934e
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -337,8 +337,7 @@ public void allowDuplicateEntriesInXForwardedForHeader() throws Exception {
.get("http://localhost:8080/get")
.remoteAddress(
new InetSocketAddress(InetAddress.getByName("10.0.0.1"), 80))
.header(X_FORWARDED_FOR_HEADER, "10.0.0.1")
.build();
.header(X_FORWARDED_FOR_HEADER, "10.0.0.1").build();

XForwardedHeadersFilter filter = new XForwardedHeadersFilter();

Expand All @@ -350,4 +349,5 @@ public void allowDuplicateEntriesInXForwardedForHeader() throws Exception {
assertThat(headers.getFirst(X_FORWARDED_FOR_HEADER))
.isEqualTo("10.0.0.1,10.0.0.1");
}

}

0 comments on commit 73d934e

Please sign in to comment.