Skip to content

Commit 6eced9a

Browse files
authored
Merge pull request #186 from mbologna/patch-1
Fix: gather context path via Java
2 parents dd2bccc + 872091f commit 6eced9a

File tree

1 file changed

+1
-2
lines changed
  • samples/java-saml-tookit-jspsample/src/main/webapp

1 file changed

+1
-2
lines changed

samples/java-saml-tookit-jspsample/src/main/webapp/dologin.jsp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@
1111
if (request.getParameter("attrs") == null) {
1212
auth.login();
1313
} else {
14-
String x = request.getPathInfo();
15-
auth.login("/java-saml-tookit-jspsample/attrs.jsp");
14+
auth.login(request.getContextPath() + "/attrs.jsp");
1615
}
1716
%>
1817
</body>

0 commit comments

Comments
 (0)