tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1622435 - /tomcat/tc7.0.x/trunk/test/org/apache/catalina/connector/TestRequest.java
Date Thu, 04 Sep 2014 09:44:26 GMT
Author: markt
Date: Thu Sep  4 09:44:26 2014
New Revision: 1622435

URL: http://svn.apache.org/r1622435
Log:
Fix corrupted characters.

Modified:
    tomcat/tc7.0.x/trunk/test/org/apache/catalina/connector/TestRequest.java

Modified: tomcat/tc7.0.x/trunk/test/org/apache/catalina/connector/TestRequest.java
URL: http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/test/org/apache/catalina/connector/TestRequest.java?rev=1622435&r1=1622434&r2=1622435&view=diff
==============================================================================
--- tomcat/tc7.0.x/trunk/test/org/apache/catalina/connector/TestRequest.java (original)
+++ tomcat/tc7.0.x/trunk/test/org/apache/catalina/connector/TestRequest.java Thu Sep  4 09:44:26
2014
@@ -662,7 +662,7 @@ public class TestRequest extends TomcatB
             writer.append("Content-Disposition: form-data; name=\"part\"\r\n");
             writer.append("Content-Type: text/plain; charset=UTF-8\r\n");
             writer.append("\r\n");
-            writer.append("��").append("\r\n");
+            writer.append("äö").append("\r\n");
             writer.flush();
 
             writer.append("\r\n");
@@ -689,7 +689,7 @@ public class TestRequest extends TomcatB
                 while ((line = reader.readLine()) != null) {
                     response.add(line);
                 }
-                assertTrue(response.contains("Part ��"));
+                assertTrue(response.contains("Part äö"));
             } finally {
                 if (reader != null) {
                     reader.close();



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


Mime
View raw message