Skip to content

Commit

Permalink
[RESTEASY-1588] Location header contains uppercase characters in ipv6…
Browse files Browse the repository at this point in the history
… address on Windows

Issue: https://issues.jboss.org/browse/RESTEASY-1588
  • Loading branch information
lasombra authored and asoldano committed Mar 8, 2017
1 parent 97304be commit bc2cb05
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ private void testRedirect(Response response) {
for (Object name : headers.keySet()) {
logger.info(name + ":" + headers.getFirst(name.toString()));
}
Assert.assertEquals("The location header doesn't have the expected value", generateURL("/redirect/data"), headers.getFirst("location"));
Assert.assertTrue(headers.getFirst("location").toString().equalsIgnoreCase(generateURL("/redirect/data")));
}

}

0 comments on commit bc2cb05

Please sign in to comment.