You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Lars Krapf (JIRA)" <ji...@apache.org> on 2015/02/12 10:48:11 UTC

[jira] [Updated] (SLING-4413) :applyTo should send 403 instead of 500 when operation fails

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

Lars Krapf updated SLING-4413:
------------------------------
    Summary: :applyTo should send 403 instead of 500 when operation fails   (was: :applyTo should send 403 instead of 500 when operation fails)

> :applyTo should send 403 instead of 500 when operation fails 
> -------------------------------------------------------------
>
>                 Key: SLING-4413
>                 URL: https://issues.apache.org/jira/browse/SLING-4413
>             Project: Sling
>          Issue Type: Bug
>          Components: Servlets
>    Affects Versions: Servlets Post 2.3.6
>            Reporter: Lars Krapf
>            Priority: Minor
>
> Example:
> curl -vv curl -F":operation=delete" -F":applyTo=/etc/*" http://localhost:4502/content/geometrixx
> Will give you a 500 (PersistenceException) in case /etc/* is not writable to the request session - as discussed with Felix & Carsten this should rather be a 403.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)