You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2019/11/19 16:03:25 UTC
[tomcat] branch 8.5.x updated: Fix broken link.
This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch 8.5.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/8.5.x by this push:
new 16d6a19 Fix broken link.
16d6a19 is described below
commit 16d6a19d293a7a1422823796f0eddd1dc77f3102
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Tue Nov 19 16:01:51 2019 +0000
Fix broken link.
It didn't work if you requested /jsp/security/protected
---
webapps/docs/changelog.xml | 8 ++++++++
webapps/examples/jsp/security/protected/error.jsp | 4 ++--
2 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml
index bf86274..f00d418 100644
--- a/webapps/docs/changelog.xml
+++ b/webapps/docs/changelog.xml
@@ -54,6 +54,14 @@
</scode>
</changelog>
</subsection>
+ <subsection name="Web applications">
+ <changelog>
+ <fix>
+ Fix the broken re-try link on the error page for the FORM authentication
+ example in the JSP section of the examples web application. (markt)
+ </fix>
+ </changelog>
+ </subsection>
</section>
<section name="Tomcat 8.5.49 (markt)" rtext="release in progress">
<subsection name="Catalina">
diff --git a/webapps/examples/jsp/security/protected/error.jsp b/webapps/examples/jsp/security/protected/error.jsp
index 3ef5743..29616af 100644
--- a/webapps/examples/jsp/security/protected/error.jsp
+++ b/webapps/examples/jsp/security/protected/error.jsp
@@ -19,7 +19,7 @@
<title>Error Page For Examples</title>
</head>
<body bgcolor="white">
-Invalid username and/or password, please try
-<a href='<%= response.encodeURL("index.jsp") %>'>again</a>.
+Invalid user name and/or password, please try
+<a href='<%= response.encodeURL(application.getContextPath() + "/jsp/security/protected/index.jsp") %>'>again</a>.
</body>
</html>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org