You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Felix Meschberger (JIRA)" <ji...@apache.org> on 2013/02/21 14:58:12 UTC

[jira] [Resolved] (SLING-2738) Log an error if multipart POST request parsing fails

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

Felix Meschberger resolved SLING-2738.
--------------------------------------

    Resolution: Fixed

Logging an error message now in case of request parsing (Rev. 1448641)
                
> Log an error if multipart POST request parsing fails
> ----------------------------------------------------
>
>                 Key: SLING-2738
>                 URL: https://issues.apache.org/jira/browse/SLING-2738
>             Project: Sling
>          Issue Type: Improvement
>          Components: Engine
>    Affects Versions: Engine 2.2.6
>            Reporter: Felix Meschberger
>            Assignee: Felix Meschberger
>             Fix For: Engine 2.2.8
>
>
> The Sling Engine supports parsing multipart/form-data POST requests using the Commons FileUpload library. The ParametersSupport.parseMultiPartPost method which causes this parsing catches but does not log any errors parsing the request.
> Such exceptions (while rare but just occurred in our application with a client-fabricated POST request) are rare but they should be logged nevertheless.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira