You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by di...@apache.org on 2002/10/19 20:56:10 UTC
cvs commit: xml-axis/java/src/org/apache/axis/attachments BoundaryDelimitedStream.java
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;
}
}