You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-dev@jakarta.apache.org by un...@apache.org on 2004/08/03 16:01:03 UTC
cvs commit: jakarta-slide/src/webdav/server/org/apache/slide/webdav/method AbstractWebdavMethod.java
unico 2004/08/03 07:01:03
Modified: src/webdav/server/org/apache/slide/webdav/method
AbstractWebdavMethod.java
Log:
fix parse error on content length = -1
Revision Changes Path
1.43 +5 -5 jakarta-slide/src/webdav/server/org/apache/slide/webdav/method/AbstractWebdavMethod.java
Index: AbstractWebdavMethod.java
===================================================================
RCS file: /home/cvs/jakarta-slide/src/webdav/server/org/apache/slide/webdav/method/AbstractWebdavMethod.java,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -r1.42 -r1.43
--- AbstractWebdavMethod.java 3 Aug 2004 10:48:27 -0000 1.42
+++ AbstractWebdavMethod.java 3 Aug 2004 14:01:03 -0000 1.43
@@ -659,8 +659,8 @@
if (isRequestContentParsed) {
return requestContentDocument;
}
-
- if (req.getContentLength() == 0) {
+
+ if (req.getContentLength() == 0 || req.getContentLength() == -1) {
return requestContentDocument;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: slide-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-dev-help@jakarta.apache.org