[
https://issues.apache.org/jira/browse/SLING-292?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12573873#action_12573873
]
Tobias Bocanegra commented on SLING-292:
----------------------------------------
this is not a problem when a human user sends the post, but rather in some UIs
where the form is posted in a hidden frame and the script takes care of
reloading the respective elements of the page.
in this case, the UI scripts need to be able to parse the errors no matter how
the user has configured the browser.
> µjax Post Servlet does not use correct HTTP status codes
> --------------------------------------------------------
>
> Key: SLING-292
> URL: https://issues.apache.org/jira/browse/SLING-292
> Project: Sling
> Issue Type: Bug
> Components: ujax
> Reporter: Lars Trieloff
>
> The µjax Post Servlet does not use correct HTTP status codes when trying to
> write nodes without permissions. Expected status code is 403 (forbidden), if
> no user is logged in (no credentials in the request), status code 401 might
> be more appropriate
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.