Test context relative URL with multiple schemes
This commit is contained in:
parent
1081066d60
commit
264daec697
|
@ -52,7 +52,7 @@ public class DefaultRedirectStrategyTests {
|
||||||
MockHttpServletResponse response = new MockHttpServletResponse();
|
MockHttpServletResponse response = new MockHttpServletResponse();
|
||||||
|
|
||||||
rds.sendRedirect(request, response,
|
rds.sendRedirect(request, response,
|
||||||
"https://context.blah.com/context/remainder");
|
"https://https://context.blah.com/context/remainder");
|
||||||
|
|
||||||
assertThat(response.getRedirectedUrl()).isEqualTo("remainder");
|
assertThat(response.getRedirectedUrl()).isEqualTo("remainder");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue