jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r748542 - /jackrabbit/sandbox/spi/spi2davex/src/main/java/org/apache/jackrabbit/spi/spi2davex/ItemInfoJSONHandler.java
Date Fri, 27 Feb 2009 14:46:32 GMT
Author: angela
Date: Fri Feb 27 14:46:32 2009
New Revision: 748542

URL: http://svn.apache.org/viewvc?rev=748542&view=rev
Log:
building binary-property uri: use Text.escapePath instead of Text.escape to escape the property
path

Modified:
    jackrabbit/sandbox/spi/spi2davex/src/main/java/org/apache/jackrabbit/spi/spi2davex/ItemInfoJSONHandler.java

Modified: jackrabbit/sandbox/spi/spi2davex/src/main/java/org/apache/jackrabbit/spi/spi2davex/ItemInfoJSONHandler.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/spi/spi2davex/src/main/java/org/apache/jackrabbit/spi/spi2davex/ItemInfoJSONHandler.java?rev=748542&r1=748541&r2=748542&view=diff
==============================================================================
--- jackrabbit/sandbox/spi/spi2davex/src/main/java/org/apache/jackrabbit/spi/spi2davex/ItemInfoJSONHandler.java
(original)
+++ jackrabbit/sandbox/spi/spi2davex/src/main/java/org/apache/jackrabbit/spi/spi2davex/ItemInfoJSONHandler.java
Fri Feb 27 14:46:32 2009
@@ -298,7 +298,7 @@
             propertyPath = mvPropInfo.getPath();
         }
         StringBuffer sb = new StringBuffer(rootURI);
-        sb.append(Text.escape(resolver.getJCRPath(propertyPath)));
+        sb.append(Text.escapePath(resolver.getJCRPath(propertyPath)));
         return sb.toString();
     }
 



Mime
View raw message