incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fmesc...@apache.org
Subject svn commit: r992220 - /sling/trunk/bundles/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/JcrResourceResolver.java
Date Fri, 03 Sep 2010 06:39:49 GMT
Author: fmeschbe
Date: Fri Sep  3 06:39:49 2010
New Revision: 992220

URL: http://svn.apache.org/viewvc?rev=992220&view=rev
Log:
SLING-1726 Fix pattern for namespace mangling for incoming URL paths (need to exclude slash
for a valid match)

Modified:
    sling/trunk/bundles/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/JcrResourceResolver.java

Modified: sling/trunk/bundles/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/JcrResourceResolver.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/JcrResourceResolver.java?rev=992220&r1=992219&r2=992220&view=diff
==============================================================================
--- sling/trunk/bundles/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/JcrResourceResolver.java
(original)
+++ sling/trunk/bundles/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/JcrResourceResolver.java
Fri Sep  3 06:39:49 2010
@@ -75,7 +75,7 @@ public class JcrResourceResolver
 
     private static final String MANGLE_NAMESPACE_IN_PREFIX = "/_";
 
-    private static final String MANGLE_NAMESPACE_IN = "/_([^_]+)_";
+    private static final String MANGLE_NAMESPACE_IN = "/_([^_/]+)_";
 
     private static final String MANGLE_NAMESPACE_OUT_SUFFIX = ":";
 



Mime
View raw message