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/attachments BoundaryDelimitedStream.java
Date Sat, 19 Oct 2002 18:56:10 GMT
dims        2002/10/19 11:56:10

  Modified:    java/src/org/apache/axis/attachments
                        BoundaryDelimitedStream.java
  Log:
  Possible Fix for Bug 13725 - Deserializing MIME attachments fails
  
  Revision  Changes    Path
  1.24      +2 -1      xml-axis/java/src/org/apache/axis/attachments/BoundaryDelimitedStream.java
  
  Index: BoundaryDelimitedStream.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/attachments/BoundaryDelimitedStream.java,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -u -r1.23 -r1.24
  --- BoundaryDelimitedStream.java	19 Oct 2002 15:37:34 -0000	1.23
  +++ BoundaryDelimitedStream.java	19 Oct 2002 18:56:10 -0000	1.24
  @@ -533,7 +533,8 @@
   
                       // If there really was no crlf at then end then this is not a boundary.
                       foundAt = BOUNDARY_NOT_FOUND;
  -                } else {
  +                } else if ((searchbuf[foundAt-1] == '-')
  +                        && (searchbuf[foundAt-2] == '-')) {
                       foundAt -= 2;
                   }
               }
  
  
  

Mime
View raw message