This is an automated email from the ASF dual-hosted git repository. michaelo 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 a9408d8 Remove redundant response message a9408d8 is described below commit a9408d818db542cce631a6b980e54a9cc532829e Author: Michael Osipov <micha...@apache.org> AuthorDate: Fri Apr 17 20:58:09 2020 +0200 Remove redundant response message --- java/org/apache/catalina/connector/CoyoteAdapter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/org/apache/catalina/connector/CoyoteAdapter.java b/java/org/apache/catalina/connector/CoyoteAdapter.java index 4a4e32a..d7e55d1 100644 --- a/java/org/apache/catalina/connector/CoyoteAdapter.java +++ b/java/org/apache/catalina/connector/CoyoteAdapter.java @@ -694,7 +694,7 @@ public class CoyoteAdapter implements Adapter { if (request.getContext() == null) { // Don't overwrite an existing error if (!response.isError()) { - response.sendError(404, "Not found"); + response.sendError(404); } // Allow processing to continue. // If present, the error reporting valve will provide a response --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org