On 21/10/2021 10:19, Mark Thomas wrote:
On 21/10/2021 08:40, Martin Grigorov wrote:

<snip/>

Fails also at TravisCI:
https://app.travis-ci.com/github/apache/tomcat/jobs/543217112


diff --git
test/org/apache/catalina/connector/TestCoyoteAdapterCanonicalization.java
test/org/apache/catalina/connector/TestCoyoteAdapterCanonicalization.java
index 710e0c7..37c13ef 100644
---
test/org/apache/catalina/connector/TestCoyoteAdapterCanonicalization.java
+++
test/org/apache/catalina/connector/TestCoyoteAdapterCanonicalization.java
@@ -185,7 +185,7 @@ public class TestCoyoteAdapterCanonicalization extends
TomcatBaseTest {
                  "Host: localhost" + CRLF +
                  CRLF
          });
-        client.setResponseBodyEncoding(StandardCharsets.UTF_8);
+    //    client.setResponseBodyEncoding(StandardCharsets.UTF_8);

This fixes the problem here.

That suggests the server isn't sending the correct bytes. I think the above change is addressing a symptom rather than the root cause.

We need to dig into this some more.

Fixed it. It was the source file encoding.

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to