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 bu...@apache.org on 2006/07/20 17:59:32 UTC
DO NOT REPLY [Bug 40084] New: - WebdavResource.mkcolMethod() does not propagate "followRedirects".
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40084>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=40084
Summary: WebdavResource.mkcolMethod() does not propagate
"followRedirects".
Product: Slide
Version: 2.1
Platform: Other
OS/Version: other
Status: NEW
Severity: normal
Priority: P2
Component: WebDAV client
AssignedTo: slide-dev@jakarta.apache.org
ReportedBy: jnorris10@gmail.com
mkcolMethod returns a 301 (Moved Permanently) if there is no trailing slash
(tested with Apache 2.2.2 mod_dav) on the directory provided. However,
WebdavResource.mkcolMethod() does not propagate "followRedirects" so that this
301 is handled.
The following simple patch fixes the issue:
-----
Index: clientlib/src/java/org/apache/webdav/lib/WebdavResource.java
===================================================================
--- clientlib/src/java/org/apache/webdav/lib/WebdavResource.java
(revision 423268)
+++ clientlib/src/java/org/apache/webdav/lib/WebdavResource.java (working
copy)
@@ -4156,6 +4156,7 @@
setClient();
MkcolMethod method = new MkcolMethod(URIUtil.encodePath(path));
+ method.setFollowRedirects(this.followRedirects);
generateIfHeader(method);
generateTransactionHeader(method);
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: slide-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-dev-help@jakarta.apache.org
DO NOT REPLY [Bug 40084] - WebdavResource.mkcolMethod() does not propagate "followRedirects".
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40084>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=40084
ozeigermann@apache.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
------- Additional Comments From ozeigermann@apache.org 2006-07-20 20:31 -------
Patch applied! Thanks!
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: slide-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-dev-help@jakarta.apache.org