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:45 UTC
(tomcat) branch 10.1.x updated: Fix backport
This is an automated email from the ASF dual-hosted git repository.
markt-asf 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 2bd68ca20e Fix backport
2bd68ca20e is described below
commit 2bd68ca20ee28bf1623ac5f8fde8cb66db133ef1
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 aa7b5b170f..192d76a4a0 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