You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Carsten Ziegeler (Jira)" <ji...@apache.org> on 2023/04/14 13:27:00 UTC

[jira] [Resolved] (SLING-5516) ParameterSupportHttpServletRequestWrapper is not conform to Servlet API 3.0

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

Carsten Ziegeler resolved SLING-5516.
-------------------------------------
    Resolution: Won't Fix

> ParameterSupportHttpServletRequestWrapper is not conform to Servlet API 3.0
> ---------------------------------------------------------------------------
>
>                 Key: SLING-5516
>                 URL: https://issues.apache.org/jira/browse/SLING-5516
>             Project: Sling
>          Issue Type: Bug
>          Components: Engine
>    Affects Versions: Engine 2.4.6
>            Reporter: Dirk Rudolph
>            Priority: Minor
>
> According to \[1\] HttpServletRequest#getParts() and HttpServletRequest#getPart(String) throw ServletExceptions in case the request ist not a {{multpart/}} request.
> In the Sling Engine implementation this seems not to be the case [2][3]. Not completely sure if this applies to the other exception types as well but i think so.
> \[1\] http://docs.oracle.com/javaee/7/api/javax/servlet/http/HttpServletRequest.html#getParts--
> \[2\] http://svn.apache.org/viewvc/sling/trunk/bundles/engine/src/main/java/org/apache/sling/engine/impl/parameters/ParameterMap.java?view=markup#l127
> [3] http://svn.apache.org/viewvc/sling/trunk/bundles/engine/src/main/java/org/apache/sling/engine/impl/parameters/ParameterSupportHttpServletRequestWrapper.java?view=markup#l59



--
This message was sent by Atlassian Jira
(v8.20.10#820010)