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
The following commit(s) were added to refs/heads/8.5.x by this push:
new cf53f8a Remove unnecessary code
cf53f8a is described below
commit cf53f8a851d6e47a52a3bfab751dcf84cf4ffca0
Author: Mark Thomas <[email protected]>
AuthorDate: Tue Oct 29 18:49:53 2019 +0100
Remove unnecessary code
---
java/org/apache/coyote/http11/Http11Processor.java | 2 --
1 file changed, 2 deletions(-)
diff --git a/java/org/apache/coyote/http11/Http11Processor.java
b/java/org/apache/coyote/http11/Http11Processor.java
index bde3b6f..fe3487f 100644
--- a/java/org/apache/coyote/http11/Http11Processor.java
+++ b/java/org/apache/coyote/http11/Http11Processor.java
@@ -22,7 +22,6 @@ import java.nio.ByteBuffer;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
-import java.util.Locale;
import java.util.Set;
import java.util.regex.Pattern;
@@ -453,7 +452,6 @@ public class Http11Processor extends AbstractProcessor {
private void addInputFilter(InputFilter[] inputFilters, String
encodingName) {
// Parsing trims and converts to lower case.
- encodingName = encodingName.trim().toLowerCase(Locale.ENGLISH);
if (encodingName.equals("identity")) {
// Skip
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]