jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From resc...@apache.org
Subject svn commit: r1462315 - in /jackrabbit/branches/2.6: ./ jackrabbit-spi2dav/src/main/java/org/apache/jackrabbit/spi2dav/RepositoryServiceImpl.java
Date Thu, 28 Mar 2013 21:35:29 GMT
Author: reschke
Date: Thu Mar 28 21:35:28 2013
New Revision: 1462315

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

Modified:
    jackrabbit/branches/2.6/   (props changed)
    jackrabbit/branches/2.6/jackrabbit-spi2dav/src/main/java/org/apache/jackrabbit/spi2dav/RepositoryServiceImpl.java

Propchange: jackrabbit/branches/2.6/
------------------------------------------------------------------------------
  Merged /jackrabbit/trunk:r1462211

Modified: jackrabbit/branches/2.6/jackrabbit-spi2dav/src/main/java/org/apache/jackrabbit/spi2dav/RepositoryServiceImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/branches/2.6/jackrabbit-spi2dav/src/main/java/org/apache/jackrabbit/spi2dav/RepositoryServiceImpl.java?rev=1462315&r1=1462314&r2=1462315&view=diff
==============================================================================
--- jackrabbit/branches/2.6/jackrabbit-spi2dav/src/main/java/org/apache/jackrabbit/spi2dav/RepositoryServiceImpl.java
(original)
+++ jackrabbit/branches/2.6/jackrabbit-spi2dav/src/main/java/org/apache/jackrabbit/spi2dav/RepositoryServiceImpl.java
Thu Mar 28 21:35:28 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