jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From resc...@apache.org
Subject svn commit: r1466085 - /jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/WebdavRequestImpl.java
Date Tue, 09 Apr 2013 15:48:11 GMT
Author: reschke
Date: Tue Apr  9 15:48:11 2013
New Revision: 1466085

URL: http://svn.apache.org/r1466085
Log:
JCR-3565: AbstractLocatorFactory.createResourceLocator needs to be called with an absolute
URI as prefix

Modified:
    jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/WebdavRequestImpl.java

Modified: jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/WebdavRequestImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/WebdavRequestImpl.java?rev=1466085&r1=1466084&r2=1466085&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/WebdavRequestImpl.java
(original)
+++ jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/WebdavRequestImpl.java
Tue Apr  9 15:48:11 2013
@@ -221,7 +221,7 @@ public class WebdavRequestImpl implement
                 throw new DavException(DavServletResponse.SC_FORBIDDEN);
             }
         }
-        return factory.createResourceLocator(hrefPrefix, ref);
+        return factory.createResourceLocator(uriPrefix, ref);
     }
 
     /**
@@ -231,7 +231,7 @@ public class WebdavRequestImpl implement
      */
     public DavResourceLocator getMemberLocator(String segment) {
         String path = (this.getRequestLocator().getHref(true) + segment).substring(hrefPrefix.length());
-        return factory.createResourceLocator(hrefPrefix, path);
+        return factory.createResourceLocator(uriPrefix, path);
     }
 
     /**



Mime
View raw message