This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch 10.1.x in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/10.1.x by this push: new c87d99fada Adding a favicon to the Tomcat Manager webapp c87d99fada is described below commit c87d99fada1aa9a83bc27cad99d99df23113c712 Author: sa103736 <xs...@users.noreply.github.com> AuthorDate: Sun Jul 27 20:46:16 2025 -0400 Adding a favicon to the Tomcat Manager webapp 1. Tomcat Manager is sometimes run on server on which there is no ROOT context, therefore no default favicon is not found. This commits adds the tomcat favicon to the manager webapp directory and references it from the HTML_HEADER_SECTION in Constants.java --- java/org/apache/catalina/manager/Constants.java | 1 + webapps/docs/changelog.xml | 10 ++++++++++ webapps/manager/favicon.ico | Bin 0 -> 21630 bytes 3 files changed, 11 insertions(+) diff --git a/java/org/apache/catalina/manager/Constants.java b/java/org/apache/catalina/manager/Constants.java index 97b7b759ef..b15a63fa60 100644 --- a/java/org/apache/catalina/manager/Constants.java +++ b/java/org/apache/catalina/manager/Constants.java @@ -36,6 +36,7 @@ public class Constants { HTML_HEADER_SECTION = "<html>\n" + "<head>\n" + + "<link href=\"{0}/favicon.ico\" rel=\"icon\" type=\"image/x-icon\" />\n" + "<link rel=\"stylesheet\" href=\"{0}/css/manager.css\">\n"; BODY_HEADER_SECTION = diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml index f90830114a..478cfff605 100644 --- a/webapps/docs/changelog.xml +++ b/webapps/docs/changelog.xml @@ -140,6 +140,16 @@ </fix> </changelog> </subsection> + <subsection name="Web applications"> + <changelog> + <fix> + Manager. Provide the Manager web application with a dedicated favicon + file rather than using the one from the ROOT web application which might + not be present or may represent something entirely different. Pull + request <pr>876</pr> by Simon Arame. + </fix> + </changelog> + </subsection> <subsection name="Other"> <changelog> <update> diff --git a/webapps/manager/favicon.ico b/webapps/manager/favicon.ico new file mode 100644 index 0000000000..6c5bd2c63b Binary files /dev/null and b/webapps/manager/favicon.ico differ --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org