From 264daec6975cacde3553bc06baa7300fe12d4c1b Mon Sep 17 00:00:00 2001 From: Eleftheria Stein Date: Wed, 16 Oct 2019 15:32:02 -0400 Subject: [PATCH] Test context relative URL with multiple schemes --- .../security/web/DefaultRedirectStrategyTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/test/java/org/springframework/security/web/DefaultRedirectStrategyTests.java b/web/src/test/java/org/springframework/security/web/DefaultRedirectStrategyTests.java index 925feb900d..a32e509ffe 100644 --- a/web/src/test/java/org/springframework/security/web/DefaultRedirectStrategyTests.java +++ b/web/src/test/java/org/springframework/security/web/DefaultRedirectStrategyTests.java @@ -52,7 +52,7 @@ public class DefaultRedirectStrategyTests { MockHttpServletResponse response = new MockHttpServletResponse(); rds.sendRedirect(request, response, - "https://context.blah.com/context/remainder"); + "https://https://context.blah.com/context/remainder"); assertThat(response.getRedirectedUrl()).isEqualTo("remainder"); }