axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject cvs commit: xml-axis/java/src/org/apache/axis/transport/http CommonsHTTPSender.java
Date Sat, 01 Mar 2003 22:33:17 GMT
dims        2003/03/01 14:33:16

  Modified:    java/src/org/apache/axis/transport/http
                        CommonsHTTPSender.java
  Log:
  Fix for Bug 17539 - CommonsHTTPSender will corrupt message data
  
  Revision  Changes    Path
  1.10      +1 -1      xml-axis/java/src/org/apache/axis/transport/http/CommonsHTTPSender.java
  
  Index: CommonsHTTPSender.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/transport/http/CommonsHTTPSender.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- CommonsHTTPSender.java	11 Dec 2002 22:38:23 -0000	1.9
  +++ CommonsHTTPSender.java	1 Mar 2003 22:33:16 -0000	1.10
  @@ -125,7 +125,7 @@
               ByteArrayOutputStream baos = new ByteArrayOutputStream();
   
               reqMessage.writeTo(baos);
  -            method.setRequestBody(new String(baos.toByteArray()));
  +            method.setRequestBody(new String(baos.toByteArray(), "UTF-8"));
               method.execute(state, conn);
               int returnCode = method.getStatusCode();
               String contentType = null;
  
  
  

Mime
View raw message