This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/master by this push: new f403a56 Fix broken link. f403a56 is described below commit f403a56c296859a0d3bb375c128030f617a1f8fd 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 7fabc56..a0915f9 100644 --- a/webapps/docs/changelog.xml +++ b/webapps/docs/changelog.xml @@ -45,6 +45,14 @@ issues do not "pop up" wrt. others). --> <section name="Tomcat 9.0.30 (markt)" rtext="in development"> + <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 9.0.29 (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-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org