On Thu, Nov 7, 2013 at 12:32 PM, Robert Munteanu <[email protected]> wrote: > ...The ';' character has a special role in HTTP - it can be used as a > query separator under certain circumstances...
That's indeed the root cause here, you need to escape ; to %3B in URLs, see http://www.blooberry.com/indexdot/html/topics/urlencoding.htm for example. If you don't do this the ;abc is already eaten by the Jetty server that the Sling launchpad embeds. OTOH the following works: $ curl -u admin:admin -F"jcr:primaryType=sling:Folder" -Ftitle=testing "http://localhost:8080/content/test/sub-test/abc%3Babc" ... $ curl http://localhost:8080/content/test/sub-test.tidy.2.json { "jcr:primaryType": "nt:unstructured", "abc;abc": { "title": "testing", "jcr:createdBy": "admin", "jcr:created": "Mon Nov 11 2013 12:10:54 GMT+0100", "jcr:primaryType": "sling:Folder" } } $curl http://localhost:8080/content/test/sub-test/abc%3Babc.tidy.json { "title": "testing", "jcr:createdBy": "admin", "jcr:created": "Mon Nov 11 2013 12:10:54 GMT+0100", "jcr:primaryType": "sling:Folder" } -Bertrand
