1
0
mirror of synced 2026-08-05 09:47:05 +00:00

Correct <A HREF> tags to use proper URL encoding.

This commit is contained in:
Ben Alex
2004-04-23 01:39:21 +00:00
parent e2de3c9dbc
commit 26ff665dee
7 changed files with 58 additions and 24 deletions
+1 -1
View File
@@ -35,6 +35,6 @@
<br><br>
<input name="execute" type="submit" alignment="center" value="Execute">
</form>
<a href="<c:url value="hello.htm"/>">Home</a>
<a href="<c:url value="../hello.htm"/>">Home</a>
</body>
</html>
+1 -1
View File
@@ -8,6 +8,6 @@
<code>
<c:out value="${contact}"/>
</code>
<p><A HREF="index.htm">Manage</a>
<p><a href="<c:url value="index.htm"/>">Manage</a>
</body>
</html>
+2 -1
View File
@@ -19,6 +19,7 @@ the random contact that is shown below:
<c:out value="${contact}"/>
</code>
<p>
<p><A HREF="secure/index.htm">Manage</a> <A HREF="secure/debug.jsp">Debug</a>
<p><A HREF="<c:url value="secure/index.htm"/>">Manage</a>
<A HREF="<c:url value="secure/debug.jsp"/>">Debug</a>
</body>
</html>
+2 -2
View File
@@ -19,11 +19,11 @@
<c:out value="${contact.email}"/>
</td>
<authz:authorize ifAllGranted="ROLE_SUPERVISOR">
<td><A HREF="del.htm?id=<c:out value="${contact.id}"/>">Del</A></td>
<td><A HREF="<c:url value="del.htm"><c:param name="id" value="${contact.id}"/></c:url>">Del</A></td>
</authz:authorize>
</tr>
</c:forEach>
</table>
<p><A HREF="add.htm">Add</a> <A HREF="../logoff.jsp">Logoff</A>
<p><a href="<c:url value="add.htm"/>">Add</a> <p><a href="<c:url value="../logoff.jsp"/>">Logoff</a>
</body>
</html>