Skip to content

Commit c96be13

Browse files
leonard84jricher
authored andcommitted
Fix unqualified access to implicit request object ...
If the OpenId request object parameter is used it hides the implicit request object, which in turn causes the expression to fail. To circumvent this we need to access the request object through the pageContext.
1 parent a8adcb1 commit c96be13

File tree

1 file changed

+1
-1
lines changed
  • openid-connect-server-webapp/src/main/webapp/WEB-INF/views

1 file changed

+1
-1
lines changed

openid-connect-server-webapp/src/main/webapp/WEB-INF/views/approve.jsp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
</h1>
3737

3838
<form name="confirmationForm"
39-
action="${request.getContextPath().endsWith('/') ? request.getContextPath() : request.getContextPath().concat('/') }authorize" method="post">
39+
action="${pageContext.request.contextPath.endsWith('/') ? pageContext.request.contextPath : pageContext.request.contextPath.concat('/') }authorize" method="post">
4040

4141
<div class="row">
4242
<div class="span5 offset1 well-small" style="text-align: left">

0 commit comments

Comments
 (0)