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 2026/10/01 15:07:52 UTC
(tomcat) branch 9.0.x updated: Fix backport
This is an automated email from the ASF dual-hosted git repository.
markt-asf pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/9.0.x by this push:
new 099de3c322 Fix backport
099de3c322 is described below
commit 099de3c322ba309f9d74d59cab1f444a137e4e50
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Thu Oct 1 16:07:32 2026 +0100
Fix backport
---
java/org/apache/catalina/filters/AddDefaultCharsetFilter.java | 10 ----------
1 file changed, 10 deletions(-)
diff --git a/java/org/apache/catalina/filters/AddDefaultCharsetFilter.java b/java/org/apache/catalina/filters/AddDefaultCharsetFilter.java
index 9414efaff9..f64cd5eaf7 100644
--- a/java/org/apache/catalina/filters/AddDefaultCharsetFilter.java
+++ b/java/org/apache/catalina/filters/AddDefaultCharsetFilter.java
@@ -158,15 +158,5 @@ public class AddDefaultCharsetFilter extends FilterBase {
encoding = charset;
}
}
-
- @Override
- public void setCharacterEncoding(Charset encoding) {
- super.setCharacterEncoding(encoding);
- if (encoding == null) {
- this.encoding = DEFAULT_ENCODING;
- } else {
- this.encoding = encoding.name();
- }
- }
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org