Skip to content

Commit 49bc5c8

Browse files
rwinchDave Syer
authored andcommitted
SECOAUTH-174: Changed form@method=POST to form@method=post
1 parent 8c7d004 commit 49bc5c8

File tree

8 files changed

+9
-9
lines changed

8 files changed

+9
-9
lines changed

samples/oauth/sparklr/src/main/webapp/WEB-INF/jsp/access_confirmation.jsp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
<li><c:out value="${consumer.resourceName}"/> &mdash; <c:out value="${consumer.resourceDescription}"/></li>
3535
</ul>
3636

37-
<form action="<c:url value="/oauth/authorize"/>" method="POST">
37+
<form action="<c:url value="/oauth/authorize"/>" method="post">
3838
<input name="requestToken" value="<c:out value="${oauth_token}"/>" type="hidden"/>
3939
<c:if test="${!empty oauth_callback}">
4040
<input name="callbackURL" value="<c:out value="${oauth_callback}"/>" type="hidden"/>

samples/oauth/sparklr/src/main/webapp/index.jsp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030

3131
<authz:authorize ifNotGranted="ROLE_USER">
3232
<h2>Login</h2>
33-
<form action="<c:url value="/login.do"/>" method="POST">
33+
<form action="<c:url value="/login.do"/>" method="post">
3434
<p><label>Username: <input type='text' name='j_username' value="marissa"></label></p>
3535
<p><label>Password: <input type='text' name='j_password' value="koala"></label></p>
3636

samples/oauth/sparklr/src/main/webapp/login.jsp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
<h2>Login</h2>
3333

3434
<p>We've got a grand total of 2 users: marissa and paul. Go ahead and log in. Marissa's password is "koala" and Paul's password is "emu".</p>
35-
<form action="<c:url value="/login.do"/>" method="POST">
35+
<form action="<c:url value="/login.do"/>" method="post">
3636
<p><label>Username: <input type='text' name='j_username' value="marissa"></label></p>
3737
<p><label>Password: <input type='text' name='j_password' value="koala"></label></p>
3838

samples/oauth/tonr/src/main/webapp/login.jsp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434

3535
<p>Tonr.com has only two users: "marissa" and "sam". The password for "marissa" is password is "wombat" and for "sam" is password is "kangaroo".</p>
3636

37-
<form action="<c:url value="/login.do"/>" method="POST">
37+
<form action="<c:url value="/login.do"/>" method="post">
3838
<p><label>Username: <input type='text' name='j_username' value="marissa"></label></p>
3939
<p><label>Password: <input type='text' name='j_password' value="wombat"></label></p>
4040

samples/oauth2/sparklr/src/main/webapp/WEB-INF/jsp/access_confirmation.jsp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@
3131

3232
<p>You hereby authorize "<c:out value="${client.clientId}"/>" to access your protected resources.</p>
3333

34-
<form id="confirmationForm" name="confirmationForm" action="<%=request.getContextPath()%>/oauth/authorize" method="POST">
34+
<form id="confirmationForm" name="confirmationForm" action="<%=request.getContextPath()%>/oauth/authorize" method="post">
3535
<input name="user_oauth_approval" value="true" type="hidden"/>
3636
<label><input name="authorize" value="Authorize" type="submit"></label>
3737
</form>
38-
<form id="denialForm" name="denialForm" action="<%=request.getContextPath()%>/oauth/authorize" method="POST">
38+
<form id="denialForm" name="denialForm" action="<%=request.getContextPath()%>/oauth/authorize" method="post">
3939
<input name="user_oauth_approval" value="false" type="hidden"/>
4040
<label><input name="deny" value="Deny" type="submit"></label>
4141
</form>

samples/oauth2/sparklr/src/main/webapp/index.jsp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030

3131
<authz:authorize ifNotGranted="ROLE_USER">
3232
<h2>Login</h2>
33-
<form id="loginForm" name="loginForm" action="<c:url value="/login.do"/>" method="POST">
33+
<form id="loginForm" name="loginForm" action="<c:url value="/login.do"/>" method="post">
3434
<p><label>Username: <input type='text' name='j_username' value="marissa"></label></p>
3535
<p><label>Password: <input type='text' name='j_password' value="koala"></label></p>
3636

samples/oauth2/sparklr/src/main/webapp/login.jsp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
<h2>Login</h2>
3434

3535
<p>We've got a grand total of 2 users: marissa and paul. Go ahead and log in. Marissa's password is "koala" and Paul's password is "emu".</p>
36-
<form id="loginForm" name="loginForm" action="<c:url value="/login.do"/>" method="POST">
36+
<form id="loginForm" name="loginForm" action="<c:url value="/login.do"/>" method="post">
3737
<p><label>Username: <input type='text' name='j_username' value="marissa"></label></p>
3838
<p><label>Password: <input type='text' name='j_password' value="koala"></label></p>
3939

samples/oauth2/tonr/src/main/webapp/login.jsp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434

3535
<p>Tonr.com has only two users: "marissa" and "sam". The password for "marissa" is password is "wombat" and for "sam" is password is "kangaroo".</p>
3636

37-
<form action="<c:url value="/login.do"/>" method="POST">
37+
<form action="<c:url value="/login.do"/>" method="post">
3838
<p><label>Username: <input type='text' name='j_username' value="marissa"></label></p>
3939
<p><label>Password: <input type='text' name='j_password' value="wombat"></label></p>
4040

0 commit comments

Comments
 (0)