From 01c23226157a9aa01bf68c66575dea8f9e2f2d8c Mon Sep 17 00:00:00 2001 From: Greg Wilkins Date: Fri, 5 Apr 2013 17:24:00 +1100 Subject: [PATCH] 404325 data constraint redirection does send default port --- .../test/java/org/eclipse/jetty/security/ConstraintTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jetty-security/src/test/java/org/eclipse/jetty/security/ConstraintTest.java b/jetty-security/src/test/java/org/eclipse/jetty/security/ConstraintTest.java index 37eb72a2609..abbfe732e72 100644 --- a/jetty-security/src/test/java/org/eclipse/jetty/security/ConstraintTest.java +++ b/jetty-security/src/test/java/org/eclipse/jetty/security/ConstraintTest.java @@ -756,7 +756,7 @@ public class ConstraintTest response = _connector.getResponses("GET /ctx/auth/info HTTP/1.0\r\nHost:wibble.com:8888\r\n\r\n"); assertThat(response,containsString(" 302 Found")); - assertThat(response,containsString("http:wibble.com:8888/ctx/testLoginPage")); + assertThat(response,containsString("http://wibble.com:8888/ctx/testLoginPage")); String session = response.substring(response.indexOf("JSESSIONID=") + 11, response.indexOf(";Path=/ctx"));