Hi, guys,

Sling's concept of extension and  suffix is great.

But I went to an error when I try to add a child node to the node that has an dot in its name.

Let's suppose this, there is a node /apps/my.app/resources with type of nt:unstructured.

When I post a file to the folder, sling post servlet will give me a surprise of adding the node to /apps/my/resources, just because the PathIterator behave like that(It takes .app as an extension).

Maybe let the PathIterator check the resource's existence (or escape the dot in the path?) is the solution here, what do you think?

Folders has one or more dot for name is so natural to me, cause I'm a Mac. :)

Thanks.

PS:

Thanks again for forgive me for my poor english, I'm Chinese, you can see it from my name, :).
-----
Jack



Reply via email to