I think this might be to do with passing basic auth from Safari browser requests to XHR (Ajax) request. I remember something on the Shindig list about the same problem. (or maybe it was this list)

Ian

On 26 Oct 2009, at 13:40, Bertrand Delacretaz (JIRA) wrote:

espblog sample: AccessDeniedException when saving blog post from Safari
-----------------------------------------------------------------------

                Key: SLING-1164
                URL: https://issues.apache.org/jira/browse/SLING-1164
            Project: Sling
         Issue Type: Bug
         Components: Samples
           Reporter: Bertrand Delacretaz
           Priority: Minor


Steps to reproduce:

cd launchpad/app
rm- rf sling
java -jar target/org.apache.sling.launchpad.app-6-SNAPSHOT.jar -p 8888

install samples/espblog and samples/path-based-rtp bundles.

Using Safari (4.0.3 in my tests), login via 
http://localhost:8888/?sling:authRequestLogin=true

Open http://localhost:8888/content/espblog/*.html and use the "New Post" link to create a post.

When attempting to save the post, Sling returns a "javax.jcr.AccessDeniedException: /content/espblog/posts: not allowed to modify item" error.

The same scenario works fine with Firefox 3.0.14.

--
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