Author: rgoers
Date: Sat Sep 24 07:20:32 2011
New Revision: 1175117
URL: http://svn.apache.org/viewvc?rev=1175117&view=rev
Log:
Fix for VFS-364
Modified:
commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/webdav/WebdavFileObject.java
commons/proper/vfs/trunk/src/changes/changes.xml
Modified:
commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/webdav/WebdavFileObject.java
URL:
http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/webdav/WebdavFileObject.java?rev=1175117&r1=1175116&r2=1175117&view=diff
==============================================================================
---
commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/webdav/WebdavFileObject.java
(original)
+++
commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/webdav/WebdavFileObject.java
Sat Sep 24 07:20:32 2011
@@ -590,7 +590,7 @@ public class WebdavFileObject extends Ht
{
name += "/";
}
- return href.equals(name);
+ return href.equals(name) || href.equals(fileName.getPath());
}
/**
Modified: commons/proper/vfs/trunk/src/changes/changes.xml
URL:
http://svn.apache.org/viewvc/commons/proper/vfs/trunk/src/changes/changes.xml?rev=1175117&r1=1175116&r2=1175117&view=diff
==============================================================================
--- commons/proper/vfs/trunk/src/changes/changes.xml (original)
+++ commons/proper/vfs/trunk/src/changes/changes.xml Sat Sep 24 07:20:32 2011
@@ -22,7 +22,12 @@
</properties>
<body>
- <release version="2.0" date="" description="Backwards incompatible update
of Commons VFS to Java 5">
+ <release version="2.1" date="TBD" description="">
+ <action issue="VFS-364" dev="rgoers" type="fix">
+ Check the href in the response for just a path in addition to a full
uri.
+ </action>
+ </release>
+ <release version="2.0" date="2011-08-24" description="Backwards
incompatible update of Commons VFS to Java 5">
<action issue="VFS-348" dev="rgoers" type="fix" due-to="Stefan Bodewig">
Update the version of commons-net.
</action>