jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From resc...@apache.org
Subject svn commit: r1462211 - /jackrabbit/trunk/jackrabbit-spi2dav/src/main/java/org/apache/jackrabbit/spi2dav/RepositoryServiceImpl.java
Date Thu, 28 Mar 2013 16:37:19 GMT
Author: reschke
Date: Thu Mar 28 16:37:19 2013
New Revision: 1462211

URL: http://svn.apache.org/r1462211
Log:
JCR-3546: header fields values such as "Location" need to be resolved against the request
uri 

Modified:
    jackrabbit/trunk/jackrabbit-spi2dav/src/main/java/org/apache/jackrabbit/spi2dav/RepositoryServiceImpl.java

Modified: jackrabbit/trunk/jackrabbit-spi2dav/src/main/java/org/apache/jackrabbit/spi2dav/RepositoryServiceImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-spi2dav/src/main/java/org/apache/jackrabbit/spi2dav/RepositoryServiceImpl.java?rev=1462211&r1=1462210&r2=1462211&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-spi2dav/src/main/java/org/apache/jackrabbit/spi2dav/RepositoryServiceImpl.java
(original)
+++ jackrabbit/trunk/jackrabbit-spi2dav/src/main/java/org/apache/jackrabbit/spi2dav/RepositoryServiceImpl.java
Thu Mar 28 16:37:19 2013
@@ -1656,7 +1656,7 @@ public class RepositoryServiceImpl imple
         CheckinMethod method = new CheckinMethod(uri);
         execute(method, sessionInfo);
         Header rh = method.getResponseHeader(DeltaVConstants.HEADER_LOCATION);
-        return uriResolver.getNodeId(rh.getValue(), sessionInfo);
+        return uriResolver.getNodeId(resolve(uri, rh.getValue()), sessionInfo);
     }
 
     /**



Mime
View raw message