[
https://issues.apache.org/jira/browse/SLING-292?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12574232#action_12574232
]
Lars Trieloff commented on SLING-292:
-------------------------------------
Having proper error messages is not a problem, because user agents will not
override the displayed error page, if the page is longer than 512 bytes (which
is the default length of error messages generated by apache). If you want to do
script-processing you have plenty of options: Using ajax, using a custom
selector and error handling script , etc. This is really independent of using a
hidden iframe for form processing.
P.S. do you use hidden iframes outside of form-upload scenarios?
> µ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.