From 666d1cfd0b777075592b7e25bc9418828345c781 Mon Sep 17 00:00:00 2001 From: Greg Wilkins Date: Wed, 19 Jun 2019 12:32:14 +0200 Subject: [PATCH] fixed https fragility Signed-off-by: Greg Wilkins --- .../test/java/org/eclipse/jetty/test/rfcs/RFC2616BaseTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test-integration/src/test/java/org/eclipse/jetty/test/rfcs/RFC2616BaseTest.java b/tests/test-integration/src/test/java/org/eclipse/jetty/test/rfcs/RFC2616BaseTest.java index 9ae7684d594..8e4f542a7e6 100644 --- a/tests/test-integration/src/test/java/org/eclipse/jetty/test/rfcs/RFC2616BaseTest.java +++ b/tests/test-integration/src/test/java/org/eclipse/jetty/test/rfcs/RFC2616BaseTest.java @@ -1073,7 +1073,7 @@ public abstract class RFC2616BaseTest specId = "10.3 Redirection HTTP/1.0 - basic"; assertThat(specId, response.getStatus(), is(HttpStatus.FOUND_302)); - assertEquals("http://myhost:1234/tests/", response.get("Location"),specId); + assertEquals(server.getScheme() + "://myhost:1234/tests/", response.get("Location"),specId); } /**