[ 
https://issues.apache.org/jira/browse/SLING-1410?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Carsten Ziegeler closed SLING-1410.
-----------------------------------


> VanityPath not working in middle of URL
> ---------------------------------------
>
>                 Key: SLING-1410
>                 URL: https://issues.apache.org/jira/browse/SLING-1410
>             Project: Sling
>          Issue Type: Bug
>          Components: JCR
>         Environment: -r 911442, max osx 10.5, jdk 1.6 on karaf 1.2 using 
> launchpad feature
>            Reporter: Jason Rose
>
> $ curl -F "title=hello" -F"jcr:mixinTypes=sling:VanityPath" 
> -F"sling:vanityPath=/nice/path" 
> http://admin:ad...@localhost:8181/content/test/this/is/a/nasty/path
> $ curl -F"title=test" 
> http://admin:ad...@localhost:8181/content/test/this/is/a/nasty/path/even/more/path
> Now, the inconsistency is here:
> $ curl localhost:8181/nice/path works as intended.
> $ curl localhost:8181/nice/path/even/more/path returns a 404
> $ curl localhost:8181/nice/path.infinity.json shows that the nodes are indeed 
> there, but I can't seem to access them.
> Is this the intended behavior of the vanityPath, i.e. to not allow the path 
> as part of the resource resolution process?  It doesn't seem to be the case, 
> since calling .infinity.json on the vanityPath shows the nodes I want to 
> access under them.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to