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
commit 095d6a07a152ec6fb97c09f6aecce390fc9755ee Author: Mark Thomas <[email protected]> AuthorDate: Wed Jul 24 09:47:23 2019 +0100 Correct version info in x-powered-by --- java/org/apache/catalina/connector/CoyoteAdapter.java | 2 +- webapps/docs/changelog.xml | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/java/org/apache/catalina/connector/CoyoteAdapter.java b/java/org/apache/catalina/connector/CoyoteAdapter.java index 0743382..869abd9 100644 --- a/java/org/apache/catalina/connector/CoyoteAdapter.java +++ b/java/org/apache/catalina/connector/CoyoteAdapter.java @@ -67,7 +67,7 @@ public class CoyoteAdapter implements Adapter { // -------------------------------------------------------------- Constants - private static final String POWERED_BY = "Servlet/4.0 JSP/2.3 " + + private static final String POWERED_BY = "Servlet/3.1 JSP/2.3 " + "(" + ServerInfo.getServerInfo() + " Java/" + System.getProperty("java.vm.vendor") + "/" + System.getProperty("java.runtime.version") + ")"; diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml index e0e1241..ef559dc 100644 --- a/webapps/docs/changelog.xml +++ b/webapps/docs/changelog.xml @@ -65,6 +65,9 @@ reject them with a 400 response rather than triggering an internal error that results in a 500 response. (markt) </fix> + <fix> + Correct version information in <code>X-Powered-By</code> header. (markt) + </fix> </changelog> </subsection> <subsection name="Coyote"> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
