You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by bd...@apache.org on 2008/01/17 14:55:20 UTC

svn commit: r612817 - /incubator/sling/trunk/usling/usling-servlets/src/main/java/org/apache/sling/ujax/UjaxPostServlet.java

Author: bdelacretaz
Date: Thu Jan 17 05:54:01 2008
New Revision: 612817

URL: http://svn.apache.org/viewvc?rev=612817&view=rev
Log:
SLING-149 - merge usling into Sling - temp fix for /* resource

Modified:
    incubator/sling/trunk/usling/usling-servlets/src/main/java/org/apache/sling/ujax/UjaxPostServlet.java

Modified: incubator/sling/trunk/usling/usling-servlets/src/main/java/org/apache/sling/ujax/UjaxPostServlet.java
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/usling/usling-servlets/src/main/java/org/apache/sling/ujax/UjaxPostServlet.java?rev=612817&r1=612816&r2=612817&view=diff
==============================================================================
--- incubator/sling/trunk/usling/usling-servlets/src/main/java/org/apache/sling/ujax/UjaxPostServlet.java (original)
+++ incubator/sling/trunk/usling/usling-servlets/src/main/java/org/apache/sling/ujax/UjaxPostServlet.java Thu Jan 17 05:54:01 2008
@@ -164,7 +164,8 @@
             currentPath = currentPath.substring(0,dotPos);
         }
 
-        final String starSuffix = "/*";
+        // TODO in microsling this was /* but that causes problems as * is not a valid JCR path - temp fix for now
+        final String starSuffix = "/UJAX_create";
         if(currentPath.endsWith(starSuffix)) {
             // If the path ends with a *, create a node under its parent, with
             // a generated node name